Clover icon

commons-jxpath

  1. Project Clover database Thu Jan 5 2023 23:55:43 MST
  2. Package org.apache.commons.jxpath.ri.parser

File XPathParser.java

 

Coverage histogram

../../../../../../img/srcFileCovDistChart7.png
66% of files have more coverage

Code metrics

1,544
3,332
249
2
3,775
3,328
1,983
0.6
13.38
124.5
7.96

Classes

Class Line # Actions
XPathParser 7 3,332 1,983 1,731
0.662243966.2%
XPathParser.JJCalls 3768 0 0 0
-1.0 -
 

Contributing tests

This file is covered by 1316 tests. .

Source view

1    /* Generated By:JavaCC: Do not edit this line. XPathParser.java */
2    package org.apache.commons.jxpath.ri.parser;
3   
4    import org.apache.commons.jxpath.ri.Compiler;
5    import java.util.ArrayList;
6   
 
7    public class XPathParser implements XPathParserConstants {
8    private Compiler compiler;
9   
 
10  254463 toggle public void setCompiler(Compiler compiler){
11  254463 this.compiler = compiler;
12    }
13   
 
14  1183 toggle private String unescape(String string){
15  1183 int index = string.indexOf("'");
16  1193 while (index != -1){
17  10 string = string.substring(0, index) + "\'" + string.substring(index + 6);
18  10 index = string.indexOf("'");
19    }
20  1183 index = string.indexOf(""");
21  1193 while (index != -1){
22  10 string = string.substring(0, index) + "\"" + string.substring(index + 6);
23  10 index = string.indexOf(""");
24    }
25  1183 return string;
26    }
27   
28    // Note: XPath does not have reserved words, so we have to include all these terminals
 
29  8085 toggle final public String NCName() throws ParseException {
30  8085 switch (jj_nt.kind) {
31  0 case OR:
32  0 case AND:
33  0 case MOD:
34  0 case DIV:
35  6993 case NCName:
36  6993 NCName_Without_CoreFunctions();
37  6993 break;
38  0 case NODE:
39  0 jj_consume_token(NODE);
40  0 break;
41  0 case TEXT:
42  0 jj_consume_token(TEXT);
43  0 break;
44  0 case COMMENT:
45  0 jj_consume_token(COMMENT);
46  0 break;
47  0 case PI:
48  0 jj_consume_token(PI);
49  0 break;
50  0 case FUNCTION_LAST:
51  0 jj_consume_token(FUNCTION_LAST);
52  0 break;
53  0 case FUNCTION_POSITION:
54  0 jj_consume_token(FUNCTION_POSITION);
55  0 break;
56  10 case FUNCTION_COUNT:
57  10 jj_consume_token(FUNCTION_COUNT);
58  10 break;
59  90 case FUNCTION_ID:
60  90 jj_consume_token(FUNCTION_ID);
61  90 break;
62  0 case FUNCTION_LOCAL_NAME:
63  0 jj_consume_token(FUNCTION_LOCAL_NAME);
64  0 break;
65  0 case FUNCTION_NAMESPACE_URI:
66  0 jj_consume_token(FUNCTION_NAMESPACE_URI);
67  0 break;
68  777 case FUNCTION_NAME:
69  777 jj_consume_token(FUNCTION_NAME);
70  777 break;
71  45 case FUNCTION_STRING:
72  45 jj_consume_token(FUNCTION_STRING);
73  45 break;
74  0 case FUNCTION_CONCAT:
75  0 jj_consume_token(FUNCTION_CONCAT);
76  0 break;
77  0 case FUNCTION_STARTS_WITH:
78  0 jj_consume_token(FUNCTION_STARTS_WITH);
79  0 break;
80  0 case FUNCTION_CONTAINS:
81  0 jj_consume_token(FUNCTION_CONTAINS);
82  0 break;
83  0 case FUNCTION_SUBSTRING_BEFORE:
84  0 jj_consume_token(FUNCTION_SUBSTRING_BEFORE);
85  0 break;
86  0 case FUNCTION_SUBSTRING_AFTER:
87  0 jj_consume_token(FUNCTION_SUBSTRING_AFTER);
88  0 break;
89  5 case FUNCTION_SUBSTRING:
90  5 jj_consume_token(FUNCTION_SUBSTRING);
91  5 break;
92  0 case FUNCTION_STRING_LENGTH:
93  0 jj_consume_token(FUNCTION_STRING_LENGTH);
94  0 break;
95  0 case FUNCTION_NORMALIZE_SPACE:
96  0 jj_consume_token(FUNCTION_NORMALIZE_SPACE);
97  0 break;
98  0 case FUNCTION_TRANSLATE:
99  0 jj_consume_token(FUNCTION_TRANSLATE);
100  0 break;
101  110 case FUNCTION_BOOLEAN:
102  110 jj_consume_token(FUNCTION_BOOLEAN);
103  110 break;
104  0 case FUNCTION_NOT:
105  0 jj_consume_token(FUNCTION_NOT);
106  0 break;
107  0 case FUNCTION_TRUE:
108  0 jj_consume_token(FUNCTION_TRUE);
109  0 break;
110  5 case FUNCTION_FALSE:
111  5 jj_consume_token(FUNCTION_FALSE);
112  5 break;
113  10 case FUNCTION_NULL:
114  10 jj_consume_token(FUNCTION_NULL);
115  10 break;
116  20 case FUNCTION_LANG:
117  20 jj_consume_token(FUNCTION_LANG);
118  20 break;
119  20 case FUNCTION_NUMBER:
120  20 jj_consume_token(FUNCTION_NUMBER);
121  20 break;
122  0 case FUNCTION_SUM:
123  0 jj_consume_token(FUNCTION_SUM);
124  0 break;
125  0 case FUNCTION_FLOOR:
126  0 jj_consume_token(FUNCTION_FLOOR);
127  0 break;
128  0 case FUNCTION_CEILING:
129  0 jj_consume_token(FUNCTION_CEILING);
130  0 break;
131  0 case FUNCTION_ROUND:
132  0 jj_consume_token(FUNCTION_ROUND);
133  0 break;
134  0 case FUNCTION_KEY:
135  0 jj_consume_token(FUNCTION_KEY);
136  0 break;
137  0 case FUNCTION_FORMAT_NUMBER:
138  0 jj_consume_token(FUNCTION_FORMAT_NUMBER);
139  0 break;
140  0 default:
141  0 jj_la1[0] = jj_gen;
142  0 jj_consume_token(-1);
143  0 throw new ParseException();
144    }
145  8085 {if (true) return token.image;}
146  0 throw new Error("Missing return statement in function");
147    }
148   
 
149  7045 toggle final public String NCName_Without_CoreFunctions() throws ParseException {
150  7045 switch (jj_nt.kind) {
151  7045 case NCName:
152  7045 jj_consume_token(NCName);
153  7045 break;
154  0 case OR:
155  0 jj_consume_token(OR);
156  0 break;
157  0 case AND:
158  0 jj_consume_token(AND);
159  0 break;
160  0 case MOD:
161  0 jj_consume_token(MOD);
162  0 break;
163  0 case DIV:
164  0 jj_consume_token(DIV);
165  0 break;
166  0 default:
167  0 jj_la1[1] = jj_gen;
168  0 jj_consume_token(-1);
169  0 throw new ParseException();
170    }
171  7045 {if (true) return token.image;}
172  0 throw new Error("Missing return statement in function");
173    }
174   
 
175  1443 toggle final public int CoreFunctionName() throws ParseException {
176  1443 int code;
177  1443 switch (jj_nt.kind) {
178  54 case FUNCTION_LAST:
179  54 jj_consume_token(FUNCTION_LAST);
180  54 code = Compiler.FUNCTION_LAST;
181  54 break;
182  47 case FUNCTION_POSITION:
183  47 jj_consume_token(FUNCTION_POSITION);
184  47 code = Compiler.FUNCTION_POSITION;
185  47 break;
186  402 case FUNCTION_COUNT:
187  402 jj_consume_token(FUNCTION_COUNT);
188  402 code = Compiler.FUNCTION_COUNT;
189  402 break;
190  27 case FUNCTION_ID:
191  27 jj_consume_token(FUNCTION_ID);
192  27 code = Compiler.FUNCTION_ID;
193  27 break;
194  64 case FUNCTION_LOCAL_NAME:
195  64 jj_consume_token(FUNCTION_LOCAL_NAME);
196  64 code = Compiler.FUNCTION_LOCAL_NAME;
197  64 break;
198  44 case FUNCTION_NAMESPACE_URI:
199  44 jj_consume_token(FUNCTION_NAMESPACE_URI);
200  44 code = Compiler.FUNCTION_NAMESPACE_URI;
201  44 break;
202  114 case FUNCTION_NAME:
203  114 jj_consume_token(FUNCTION_NAME);
204  114 code = Compiler.FUNCTION_NAME;
205  114 break;
206  102 case FUNCTION_STRING:
207  102 jj_consume_token(FUNCTION_STRING);
208  102 code = Compiler.FUNCTION_STRING;
209  102 break;
210  22 case FUNCTION_CONCAT:
211  22 jj_consume_token(FUNCTION_CONCAT);
212  22 code = Compiler.FUNCTION_CONCAT;
213  22 break;
214  17 case FUNCTION_STARTS_WITH:
215  17 jj_consume_token(FUNCTION_STARTS_WITH);
216  17 code = Compiler.FUNCTION_STARTS_WITH;
217  17 break;
218  32 case FUNCTION_CONTAINS:
219  32 jj_consume_token(FUNCTION_CONTAINS);
220  32 code = Compiler.FUNCTION_CONTAINS;
221  32 break;
222  12 case FUNCTION_SUBSTRING_BEFORE:
223  12 jj_consume_token(FUNCTION_SUBSTRING_BEFORE);
224  12 code = Compiler.FUNCTION_SUBSTRING_BEFORE;
225  12 break;
226  12 case FUNCTION_SUBSTRING_AFTER:
227  12 jj_consume_token(FUNCTION_SUBSTRING_AFTER);
228  12 code = Compiler.FUNCTION_SUBSTRING_AFTER;
229  12 break;
230  69 case FUNCTION_SUBSTRING:
231  69 jj_consume_token(FUNCTION_SUBSTRING);
232  69 code = Compiler.FUNCTION_SUBSTRING;
233  69 break;
234  22 case FUNCTION_STRING_LENGTH:
235  22 jj_consume_token(FUNCTION_STRING_LENGTH);
236  22 code = Compiler.FUNCTION_STRING_LENGTH;
237  22 break;
238  22 case FUNCTION_NORMALIZE_SPACE:
239  22 jj_consume_token(FUNCTION_NORMALIZE_SPACE);
240  22 code = Compiler.FUNCTION_NORMALIZE_SPACE;
241  22 break;
242  12 case FUNCTION_TRANSLATE:
243  12 jj_consume_token(FUNCTION_TRANSLATE);
244  12 code = Compiler.FUNCTION_TRANSLATE;
245  12 break;
246  97 case FUNCTION_BOOLEAN:
247  97 jj_consume_token(FUNCTION_BOOLEAN);
248  97 code = Compiler.FUNCTION_BOOLEAN;
249  97 break;
250  17 case FUNCTION_NOT:
251  17 jj_consume_token(FUNCTION_NOT);
252  17 code = Compiler.FUNCTION_NOT;
253  17 break;
254  27 case FUNCTION_TRUE:
255  27 jj_consume_token(FUNCTION_TRUE);
256  27 code = Compiler.FUNCTION_TRUE;
257  27 break;
258  27 case FUNCTION_FALSE:
259  27 jj_consume_token(FUNCTION_FALSE);
260  27 code = Compiler.FUNCTION_FALSE;
261  27 break;
262  5 case FUNCTION_NULL:
263  5 jj_consume_token(FUNCTION_NULL);
264  5 code = Compiler.FUNCTION_NULL;
265  5 break;
266  47 case FUNCTION_LANG:
267  47 jj_consume_token(FUNCTION_LANG);
268  47 code = Compiler.FUNCTION_LANG;
269  47 break;
270  32 case FUNCTION_NUMBER:
271  32 jj_consume_token(FUNCTION_NUMBER);
272  32 code = Compiler.FUNCTION_NUMBER;
273  32 break;
274  17 case FUNCTION_SUM:
275  17 jj_consume_token(FUNCTION_SUM);
276  17 code = Compiler.FUNCTION_SUM;
277  17 break;
278  17 case FUNCTION_FLOOR:
279  17 jj_consume_token(FUNCTION_FLOOR);
280  17 code = Compiler.FUNCTION_FLOOR;
281  17 break;
282  17 case FUNCTION_CEILING:
283  17 jj_consume_token(FUNCTION_CEILING);
284  17 code = Compiler.FUNCTION_CEILING;
285  17 break;
286  17 case FUNCTION_ROUND:
287  17 jj_consume_token(FUNCTION_ROUND);
288  17 code = Compiler.FUNCTION_ROUND;
289  17 break;
290  12 case FUNCTION_KEY:
291  12 jj_consume_token(FUNCTION_KEY);
292  12 code = Compiler.FUNCTION_KEY;
293  12 break;
294  37 case FUNCTION_FORMAT_NUMBER:
295  37 jj_consume_token(FUNCTION_FORMAT_NUMBER);
296  37 code = Compiler.FUNCTION_FORMAT_NUMBER;
297  37 break;
298  0 default:
299  0 jj_la1[2] = jj_gen;
300  0 jj_consume_token(-1);
301  0 throw new ParseException();
302    }
303  1443 {if (true) return code;}
304  0 throw new Error("Missing return statement in function");
305    }
306   
 
307  383 toggle final public Object QName() throws ParseException {
308  383 String nc1, nc2 = null;
309  383 nc1 = NCName();
310  383 switch (jj_nt.kind) {
311  12 case 79:
312  12 jj_consume_token(79);
313  12 nc2 = NCName();
314  12 break;
315  371 default:
316  371 jj_la1[3] = jj_gen;
317  371 ;
318    }
319  383 if (nc2 == null){
320  371 {if (true) return compiler.qname(null, nc1);}
321    }
322    else {
323  12 {if (true) return compiler.qname(nc1, nc2);}
324    }
325  0 throw new Error("Missing return statement in function");
326    }
327   
 
328  194 toggle final public Object QName_Without_CoreFunctions() throws ParseException {
329  194 String nc1, nc2 = null;
330  194 if (jj_2_1(2147483647)) {
331  142 nc1 = NCName();
332  142 jj_consume_token(79);
333  142 nc2 = NCName();
334    } else {
335  52 switch (jj_nt.kind) {
336  0 case OR:
337  0 case AND:
338  0 case MOD:
339  0 case DIV:
340  52 case NCName:
341  52 nc1 = NCName_Without_CoreFunctions();
342  52 break;
343  0 default:
344  0 jj_la1[4] = jj_gen;
345  0 jj_consume_token(-1);
346  0 throw new ParseException();
347    }
348    }
349  194 if (nc2 == null){
350  52 {if (true) return compiler.qname(null, nc1);}
351    }
352    else {
353  142 {if (true) return compiler.qname(nc1, nc2);}
354    }
355  0 throw new Error("Missing return statement in function");
356    }
357   
 
358  254463 toggle final public Object parseExpression() throws ParseException {
359  254463 Object ex;
360  254463 ex = Expression();
361  254463 jj_consume_token(0);
362  254463 {if (true) return ex;}
363  0 throw new Error("Missing return statement in function");
364    }
365   
366    /* ################################################################################### */
367    /* XSLT Patterns (http://www.w3.org/1999/08/WD-xslt-19990813) */
368    /* ################################################################################### */
369   
370    /* [XSLT1] Pattern ::= LocationPathPattern | Pattern '|' LocationPathPattern */
371   
372    //void Pattern() :
373    //{}
374    //{
375    // LocationPathPattern() ( <UNION> LocationPathPattern() )* <EOF>
376    //}
377    //
378    //
379    ///* [XSLT2] LocationPathPattern ::=
380    // '/' RelativePathPattern? | IdKeyPattern (('/' | '//' RelativePathPattern)? | '//'? RelativePathPattern
381    //*/
382    //
383    //void LocationPathPattern() :
384    //{}
385    //{
386    // <SLASH> ( RelativePathPattern() )?
387    // | (
388    // LOOKAHEAD(IdKeyPattern())
389    // IdKeyPattern() ( ( <SLASH> | <SLASHSLASH>) RelativePathPattern() )?
390    // | ( <SLASHSLASH> )? RelativePathPattern()
391    // )
392    //}
393    //
394    //
395    //
396    ///* [XSLT3] IdKeyPattern ::= 'id' '(' Literal ')' | 'key' '(' Literal ',' Literal ')' */
397    //
398    //void IdKeyPattern() :
399    //{}
400    //{
401    // <ID> "(" <Literal> ")"
402    // | <KEY> "(" <Literal> "," <Literal> ")"
403    //}
404    //
405    //
406    ///* [XSLT4] RelativePathPattern ::= StepPattern | RelativePathPattern '/' StepPattern
407    // | RelativePathPattern '//' StepPattern
408    //*/
409    //void RelativePathPattern() :
410    //{}
411    //{
412    // StepPattern() ( ( <SLASH>| <SLASHSLASH> ) StepPattern() )*
413    //}
414    //
415    //
416    ///* [XSLT5] StepPattern ::= AbbreviatedAxisSpecifier NodeTest Predicate* */
417    //void StepPattern() :
418    //{}
419    //{
420    // AbbreviatedAxisSpecifier() NodeTest() (Predicate())*
421    //}
422   
423   
424   
425    // See XPath Syntax (http://www.w3.org/TR/xpath )
426   
427   
428    //void XPath() :
429    //{}
430    //{
431    // LocationPath()
432    // <EOF>
433    //}
434   
435   
436    /* [1] LocationPath ::= RelativeLocationPath | AbsoluteLocationPath */
 
437  253889 toggle final public Object LocationPath() throws ParseException {
438  253889 Object ex = null;
439  253889 switch (jj_nt.kind) {
440  0 case OR:
441  0 case AND:
442  0 case MOD:
443  0 case DIV:
444  7 case NODE:
445  7 case TEXT:
446  7 case COMMENT:
447  14 case PI:
448  27 case AXIS_SELF:
449  17 case AXIS_CHILD:
450  7 case AXIS_PARENT:
451  7 case AXIS_ANCESTOR:
452  7 case AXIS_ATTRIBUTE:
453  7 case AXIS_NAMESPACE:
454  7 case AXIS_PRECEDING:
455  7 case AXIS_FOLLOWING:
456  37 case AXIS_DESCENDANT:
457  7 case AXIS_ANCESTOR_OR_SELF:
458  7 case AXIS_FOLLOWING_SIBLING:
459  7 case AXIS_PRECEDING_SIBLING:
460  37 case AXIS_DESCENDANT_OR_SELF:
461  0 case FUNCTION_LAST:
462  0 case FUNCTION_POSITION:
463  0 case FUNCTION_COUNT:
464  0 case FUNCTION_ID:
465  0 case FUNCTION_KEY:
466  0 case FUNCTION_LOCAL_NAME:
467  0 case FUNCTION_NAMESPACE_URI:
468  25 case FUNCTION_NAME:
469  5 case FUNCTION_STRING:
470  0 case FUNCTION_CONCAT:
471  0 case FUNCTION_STARTS_WITH:
472  0 case FUNCTION_CONTAINS:
473  0 case FUNCTION_SUBSTRING_BEFORE:
474  0 case FUNCTION_SUBSTRING_AFTER:
475  0 case FUNCTION_SUBSTRING:
476  0 case FUNCTION_STRING_LENGTH:
477  0 case FUNCTION_NORMALIZE_SPACE:
478  0 case FUNCTION_TRANSLATE:
479  30 case FUNCTION_BOOLEAN:
480  0 case FUNCTION_NOT:
481  0 case FUNCTION_TRUE:
482  5 case FUNCTION_FALSE:
483  0 case FUNCTION_NULL:
484  0 case FUNCTION_LANG:
485  0 case FUNCTION_NUMBER:
486  0 case FUNCTION_SUM:
487  0 case FUNCTION_FLOOR:
488  0 case FUNCTION_CEILING:
489  0 case FUNCTION_ROUND:
490  0 case FUNCTION_FORMAT_NUMBER:
491  1531 case NCName:
492  102 case 82:
493  74 case 83:
494  588 case 86:
495  17 case 88:
496  2593 ex = RelativeLocationPath();
497  2593 break;
498  250964 case SLASH:
499  332 case SLASHSLASH:
500  251296 ex = AbsoluteLocationPath();
501  251296 break;
502  0 default:
503  0 jj_la1[5] = jj_gen;
504  0 jj_consume_token(-1);
505  0 throw new ParseException();
506    }
507  253889 {if (true) return ex;}
508  0 throw new Error("Missing return statement in function");
509    }
510   
511    /* [2] AbsoluteLocationPath ::= '/' RelativeLocationPath? | AbbreviatedAbsoluteLocationPath */
512    /* [10] AbbreviatedAbsoluteLocationPath ::= '//' RelativeLocationPath */
 
513  251296 toggle final public Object AbsoluteLocationPath() throws ParseException {
514  251296 ArrayList steps = new ArrayList();
515  251296 if (jj_2_2(2147483647)) {
516  1226 LocationStep(steps);
517  1226 label_1:
518    while (true) {
519  2383 switch (jj_nt.kind) {
520  1137 case SLASH:
521  20 case SLASHSLASH:
522  1157 ;
523  1157 break;
524  1226 default:
525  1226 jj_la1[6] = jj_gen;
526  1226 break label_1;
527    }
528  1157 LocationStep(steps);
529    }
530    } else {
531  250070 switch (jj_nt.kind) {
532  250070 case SLASH:
533  250070 jj_consume_token(SLASH);
534  250070 break;
535  0 default:
536  0 jj_la1[7] = jj_gen;
537  0 jj_consume_token(-1);
538  0 throw new ParseException();
539    }
540    }
541  251296 {if (true) return compiler.locationPath(true, steps.toArray());}
542  0 throw new Error("Missing return statement in function");
543    }
544   
545    /* [3] RelativeLocationPath ::= Step | RelativeLocationPath '/' Step | AbbreviatedRelativeLocationPath */
 
546  2593 toggle final public Object RelativeLocationPath() throws ParseException {
547  2593 ArrayList steps = new ArrayList();
548  2593 NodeTest(steps);
549  2593 label_2:
550    while (true) {
551  4864 switch (jj_nt.kind) {
552  2074 case SLASH:
553  197 case SLASHSLASH:
554  2271 ;
555  2271 break;
556  2593 default:
557  2593 jj_la1[8] = jj_gen;
558  2593 break label_2;
559    }
560  2271 LocationStep(steps);
561    }
562  2593 {if (true) return compiler.locationPath(false, steps.toArray());}
563  0 throw new Error("Missing return statement in function");
564    }
565   
566    /* [3] RelativeLocationPath ::= Step | RelativeLocationPath '/' Step | AbbreviatedRelativeLocationPath */
567    /* [11] AbbreviatedRelativeLocationPath ::= RelativeLocationPath '//' Step */
568   
569   
570    /*--------------------*/
571    /* 2.1 Location Steps */
572    /*--------------------*/
573   
574    /* [4] Step ::= AxisSpecifier NodeTest Predicate* | AbbreviatedStep */
 
575  4981 toggle final public void LocationStep(ArrayList steps) throws ParseException {
576  4981 Object t;
577  4981 Object s;
578  4981 switch (jj_nt.kind) {
579  4377 case SLASH:
580  4377 jj_consume_token(SLASH);
581  4377 break;
582  604 case SLASHSLASH:
583  604 jj_consume_token(SLASHSLASH);
584    // Abbreviated step: descendant-or-self::node()
585  604 t = compiler.nodeTypeTest(Compiler.NODE_TYPE_NODE);
586  604 steps.add(compiler.step(Compiler.AXIS_DESCENDANT_OR_SELF, t, null));
587  604 break;
588  0 default:
589  0 jj_la1[9] = jj_gen;
590  0 jj_consume_token(-1);
591  0 throw new ParseException();
592    }
593  4981 NodeTest(steps);
594    }
595   
596    /* [7] NodeTest ::= WildcardName | NodeType '(' ')' | 'processing-instruction' '(' Literal ')' */
 
597  7574 toggle final public void NodeTest(ArrayList steps) throws ParseException {
598  7574 int axis;
599  7574 int type = -1;
600  7574 String instruction = null;
601  7574 Object name = null;
602  7574 Object s;
603  7574 Object p;
604  7574 ArrayList ps = new ArrayList();
605  7574 switch (jj_nt.kind) {
606  0 case OR:
607  0 case AND:
608  0 case MOD:
609  0 case DIV:
610  7 case NODE:
611  37 case TEXT:
612  17 case COMMENT:
613  44 case PI:
614  77 case AXIS_SELF:
615  17 case AXIS_CHILD:
616  27 case AXIS_PARENT:
617  37 case AXIS_ANCESTOR:
618  17 case AXIS_ATTRIBUTE:
619  47 case AXIS_NAMESPACE:
620  27 case AXIS_PRECEDING:
621  47 case AXIS_FOLLOWING:
622  67 case AXIS_DESCENDANT:
623  37 case AXIS_ANCESTOR_OR_SELF:
624  77 case AXIS_FOLLOWING_SIBLING:
625  47 case AXIS_PRECEDING_SIBLING:
626  37 case AXIS_DESCENDANT_OR_SELF:
627  0 case FUNCTION_LAST:
628  0 case FUNCTION_POSITION:
629  0 case FUNCTION_COUNT:
630  0 case FUNCTION_ID:
631  0 case FUNCTION_KEY:
632  0 case FUNCTION_LOCAL_NAME:
633  0 case FUNCTION_NAMESPACE_URI:
634  220 case FUNCTION_NAME:
635  30 case FUNCTION_STRING:
636  0 case FUNCTION_CONCAT:
637  0 case FUNCTION_STARTS_WITH:
638  0 case FUNCTION_CONTAINS:
639  0 case FUNCTION_SUBSTRING_BEFORE:
640  0 case FUNCTION_SUBSTRING_AFTER:
641  0 case FUNCTION_SUBSTRING:
642  0 case FUNCTION_STRING_LENGTH:
643  0 case FUNCTION_NORMALIZE_SPACE:
644  0 case FUNCTION_TRANSLATE:
645  70 case FUNCTION_BOOLEAN:
646  0 case FUNCTION_NOT:
647  0 case FUNCTION_TRUE:
648  5 case FUNCTION_FALSE:
649  0 case FUNCTION_NULL:
650  0 case FUNCTION_LANG:
651  20 case FUNCTION_NUMBER:
652  0 case FUNCTION_SUM:
653  0 case FUNCTION_FLOOR:
654  0 case FUNCTION_CEILING:
655  0 case FUNCTION_ROUND:
656  0 case FUNCTION_FORMAT_NUMBER:
657  5230 case NCName:
658  925 case 86:
659  42 case 88:
660  7208 axis = AxisSpecifier();
661  7208 if (jj_2_3(2147483647)) {
662  248 type = NodeType();
663  248 jj_consume_token(80);
664  248 jj_consume_token(81);
665  6960 } else if (jj_2_4(2147483647)) {
666  17 jj_consume_token(PI);
667  17 jj_consume_token(80);
668  17 jj_consume_token(Literal);
669  17 instruction = unescape(token.image.substring(1, token.image.length() - 1));
670  17 jj_consume_token(81);
671    } else {
672  6943 switch (jj_nt.kind) {
673  0 case OR:
674  0 case AND:
675  0 case MOD:
676  0 case DIV:
677  0 case NODE:
678  0 case TEXT:
679  0 case COMMENT:
680  0 case PI:
681  0 case FUNCTION_LAST:
682  0 case FUNCTION_POSITION:
683  0 case FUNCTION_COUNT:
684  90 case FUNCTION_ID:
685  0 case FUNCTION_KEY:
686  0 case FUNCTION_LOCAL_NAME:
687  0 case FUNCTION_NAMESPACE_URI:
688  737 case FUNCTION_NAME:
689  30 case FUNCTION_STRING:
690  0 case FUNCTION_CONCAT:
691  0 case FUNCTION_STARTS_WITH:
692  0 case FUNCTION_CONTAINS:
693  0 case FUNCTION_SUBSTRING_BEFORE:
694  0 case FUNCTION_SUBSTRING_AFTER:
695  0 case FUNCTION_SUBSTRING:
696  0 case FUNCTION_STRING_LENGTH:
697  0 case FUNCTION_NORMALIZE_SPACE:
698  0 case FUNCTION_TRANSLATE:
699  100 case FUNCTION_BOOLEAN:
700  0 case FUNCTION_NOT:
701  0 case FUNCTION_TRUE:
702  5 case FUNCTION_FALSE:
703  0 case FUNCTION_NULL:
704  0 case FUNCTION_LANG:
705  20 case FUNCTION_NUMBER:
706  0 case FUNCTION_SUM:
707  0 case FUNCTION_FLOOR:
708  0 case FUNCTION_CEILING:
709  0 case FUNCTION_ROUND:
710  0 case FUNCTION_FORMAT_NUMBER:
711  5855 case NCName:
712  106 case 88:
713  6943 name = WildcardName();
714  6943 break;
715  0 default:
716  0 jj_la1[10] = jj_gen;
717  0 jj_consume_token(-1);
718  0 throw new ParseException();
719    }
720    }
721  7208 break;
722  212 case 82:
723  212 jj_consume_token(82);
724  212 axis = Compiler.AXIS_SELF;
725  212 type = Compiler.NODE_TYPE_NODE;
726  212 break;
727  154 case 83:
728  154 jj_consume_token(83);
729  154 axis = Compiler.AXIS_PARENT;
730  154 type = Compiler.NODE_TYPE_NODE;
731  154 break;
732  0 default:
733  0 jj_la1[11] = jj_gen;
734  0 jj_consume_token(-1);
735  0 throw new ParseException();
736    }
737  7574 label_3:
738    while (true) {
739  9406 switch (jj_nt.kind) {
740  1832 case 84:
741  1832 ;
742  1832 break;
743  7574 default:
744  7574 jj_la1[12] = jj_gen;
745  7574 break label_3;
746    }
747  1832 p = Predicate();
748  1832 ps.add(p);
749    }
750  7574 if (name != null){
751  6943 s = compiler.nodeNameTest(name);
752    }
753  631 else if (instruction != null){
754  17 s = compiler.processingInstructionTest(instruction);
755    }
756    else {
757  614 s = compiler.nodeTypeTest(type);
758    }
759  7574 steps.add(compiler.step(axis, s, ps.toArray()));
760    }
761   
762    /* [5] AxisSpecifier ::= AxisName '::' | AbbreviatedAxisSpecifier */
 
763  7208 toggle final public int AxisSpecifier() throws ParseException {
764  7208 int axis;
765  7208 switch (jj_nt.kind) {
766  77 case AXIS_SELF:
767  17 case AXIS_CHILD:
768  27 case AXIS_PARENT:
769  37 case AXIS_ANCESTOR:
770  17 case AXIS_ATTRIBUTE:
771  47 case AXIS_NAMESPACE:
772  27 case AXIS_PRECEDING:
773  47 case AXIS_FOLLOWING:
774  67 case AXIS_DESCENDANT:
775  37 case AXIS_ANCESTOR_OR_SELF:
776  77 case AXIS_FOLLOWING_SIBLING:
777  47 case AXIS_PRECEDING_SIBLING:
778  37 case AXIS_DESCENDANT_OR_SELF:
779  561 axis = AxisName();
780  561 break;
781  6647 default:
782  6647 jj_la1[13] = jj_gen;
783  6647 axis = AbbreviatedAxisSpecifier();
784    }
785  7208 {if (true) return axis;}
786  0 throw new Error("Missing return statement in function");
787    }
788   
789    /*----------*/
790    /* 2.2 Axes */
791    /*----------*/
792   
793    /* [6] AxisName ::= 'ancestor' | 'ancestor-or-self' | 'attribute' | 'child' | 'descendant'
794    | 'descendant-or-self' | 'following' | 'following-sibling' | 'namespace'
795    | 'parent' | 'preceding' | 'preceding-sibling' | 'self'
796    */
 
797  561 toggle final public int AxisName() throws ParseException {
798  561 int axis = 0;
799  561 switch (jj_nt.kind) {
800  77 case AXIS_SELF:
801  77 jj_consume_token(AXIS_SELF);
802  77 axis = Compiler.AXIS_SELF;
803  77 break;
804  17 case AXIS_CHILD:
805  17 jj_consume_token(AXIS_CHILD);
806  17 axis = Compiler.AXIS_CHILD;
807  17 break;
808  27 case AXIS_PARENT:
809  27 jj_consume_token(AXIS_PARENT);
810  27 axis = Compiler.AXIS_PARENT;
811  27 break;
812  37 case AXIS_ANCESTOR:
813  37 jj_consume_token(AXIS_ANCESTOR);
814  37 axis = Compiler.AXIS_ANCESTOR;
815  37 break;
816  17 case AXIS_ATTRIBUTE:
817  17 jj_consume_token(AXIS_ATTRIBUTE);
818  17 axis = Compiler.AXIS_ATTRIBUTE;
819  17 break;
820  47 case AXIS_NAMESPACE:
821  47 jj_consume_token(AXIS_NAMESPACE);
822  47 axis = Compiler.AXIS_NAMESPACE;
823  47 break;
824  27 case AXIS_PRECEDING:
825  27 jj_consume_token(AXIS_PRECEDING);
826  27 axis = Compiler.AXIS_PRECEDING;
827  27 break;
828  47 case AXIS_FOLLOWING:
829  47 jj_consume_token(AXIS_FOLLOWING);
830  47 axis = Compiler.AXIS_FOLLOWING;
831  47 break;
832  67 case AXIS_DESCENDANT:
833  67 jj_consume_token(AXIS_DESCENDANT);
834  67 axis = Compiler.AXIS_DESCENDANT;
835  67 break;
836  37 case AXIS_ANCESTOR_OR_SELF:
837  37 jj_consume_token(AXIS_ANCESTOR_OR_SELF);
838  37 axis = Compiler.AXIS_ANCESTOR_OR_SELF;
839  37 break;
840  77 case AXIS_FOLLOWING_SIBLING:
841  77 jj_consume_token(AXIS_FOLLOWING_SIBLING);
842  77 axis = Compiler.AXIS_FOLLOWING_SIBLING;
843  77 break;
844  47 case AXIS_PRECEDING_SIBLING:
845  47 jj_consume_token(AXIS_PRECEDING_SIBLING);
846  47 axis = Compiler.AXIS_PRECEDING_SIBLING;
847  47 break;
848  37 case AXIS_DESCENDANT_OR_SELF:
849  37 jj_consume_token(AXIS_DESCENDANT_OR_SELF);
850  37 axis = Compiler.AXIS_DESCENDANT_OR_SELF;
851  37 break;
852  0 default:
853  0 jj_la1[14] = jj_gen;
854  0 jj_consume_token(-1);
855  0 throw new ParseException();
856    }
857  561 {if (true) return axis;}
858  0 throw new Error("Missing return statement in function");
859    }
860   
861    /*----------------*/
862    /* 2.3 Node Tests */
863    /*----------------*/
864   
865    /*----------------*/
866    /* 2.4 Predicates */
867    /*----------------*/
868   
869    /* [8] Predicate ::= '[' PredicateExpr ']' */
870    /* [9] PredicateExpr ::= Expr */
 
871  1956 toggle final public Object Predicate() throws ParseException {
872  1956 Object ex;
873  1956 jj_consume_token(84);
874  1956 ex = Expression();
875  1956 jj_consume_token(85);
876  1956 {if (true) return ex;}
877  0 throw new Error("Missing return statement in function");
878    }
879   
880    /* [12] AbbreviatedStep ::= '.' | '..' */
881   
882    /* [13] AbbreviatedAxisSpecifier ::= '@'? */
 
883  6647 toggle final public int AbbreviatedAxisSpecifier() throws ParseException {
884  6647 int axis = Compiler.AXIS_CHILD;
885  6647 switch (jj_nt.kind) {
886  925 case 86:
887  925 jj_consume_token(86);
888  925 axis = Compiler.AXIS_ATTRIBUTE;
889  925 break;
890  5722 default:
891  5722 jj_la1[15] = jj_gen;
892  5722 ;
893    }
894  6647 {if (true) return axis;}
895  0 throw new Error("Missing return statement in function");
896    }
897   
898    /*---------------*/
899    /* 3 Expressions */
900    /*---------------*/
901   
902    /*------------*/
903    /* 3.1 Basics */
904    /*------------*/
905   
906    /*
907    The effect of the grammar is that the order of precedence is (lowest precedence first):
908    or
909    and
910    =, !=
911    <=, <, >=, >
912    and all operators are left associative.
913    For example, 3 > 2 > 1 is equivalent to (3 > 2) > 1, which evaluates to false.
914    */
915   
916    /* [14] Expr ::= OrExpr */
 
917  258328 toggle final public Object Expression() throws ParseException {
918  258328 Object ex;
919  258328 ex = OrExpr();
920  258328 {if (true) return ex;}
921  0 throw new Error("Missing return statement in function");
922    }
923   
924    /* [15] PrimaryExpr ::= VariableReference | '(' Expr ')' | Literal | Number | FunctionCall */
 
925  256009 toggle final public Object PrimaryExpr() throws ParseException {
926  256009 Object ex = null;
927  256009 switch (jj_nt.kind) {
928  383 case VARIABLE:
929  383 ex = VariableReference();
930  383 break;
931  124 case 80:
932  124 jj_consume_token(80);
933  124 ex = Expression();
934  124 jj_consume_token(81);
935  124 break;
936  1166 case Literal:
937  1166 jj_consume_token(Literal);
938  1166 ex = compiler.literal(unescape(token.image.substring(1, token.image.length() - 1)));
939  1166 break;
940  252699 case Number:
941  252699 jj_consume_token(Number);
942  252699 ex = compiler.number(token.image);
943  252699 break;
944  1637 default:
945  1637 jj_la1[16] = jj_gen;
946  1637 if (jj_2_5(2147483647)) {
947  1443 ex = CoreFunctionCall();
948    } else {
949  194 switch (jj_nt.kind) {
950  0 case OR:
951  0 case AND:
952  0 case MOD:
953  0 case DIV:
954  0 case NODE:
955  0 case TEXT:
956  0 case COMMENT:
957  0 case PI:
958  0 case FUNCTION_LAST:
959  0 case FUNCTION_POSITION:
960  0 case FUNCTION_COUNT:
961  0 case FUNCTION_ID:
962  0 case FUNCTION_KEY:
963  0 case FUNCTION_LOCAL_NAME:
964  0 case FUNCTION_NAMESPACE_URI:
965  0 case FUNCTION_NAME:
966  0 case FUNCTION_STRING:
967  0 case FUNCTION_CONCAT:
968  0 case FUNCTION_STARTS_WITH:
969  0 case FUNCTION_CONTAINS:
970  0 case FUNCTION_SUBSTRING_BEFORE:
971  0 case FUNCTION_SUBSTRING_AFTER:
972  0 case FUNCTION_SUBSTRING:
973  0 case FUNCTION_STRING_LENGTH:
974  0 case FUNCTION_NORMALIZE_SPACE:
975  0 case FUNCTION_TRANSLATE:
976  0 case FUNCTION_BOOLEAN:
977  0 case FUNCTION_NOT:
978  0 case FUNCTION_TRUE:
979  0 case FUNCTION_FALSE:
980  0 case FUNCTION_NULL:
981  0 case FUNCTION_LANG:
982  0 case FUNCTION_NUMBER:
983  0 case FUNCTION_SUM:
984  0 case FUNCTION_FLOOR:
985  0 case FUNCTION_CEILING:
986  0 case FUNCTION_ROUND:
987  0 case FUNCTION_FORMAT_NUMBER:
988  194 case NCName:
989  194 ex = FunctionCall();
990  194 break;
991  0 default:
992  0 jj_la1[17] = jj_gen;
993  0 jj_consume_token(-1);
994  0 throw new ParseException();
995    }
996    }
997    }
998  256009 {if (true) return ex;}
999  0 throw new Error("Missing return statement in function");
1000    }
1001   
1002    /*--------------------*/
1003    /* 3.2 Function Calls */
1004    /*--------------------*/
1005   
1006    /* [16] FunctionCall ::= FunctionName '(' ( Argument ( ',' Argument)*)? ')' */
 
1007  194 toggle final public Object FunctionCall() throws ParseException {
1008  194 Object name;
1009  194 ArrayList args;
1010  194 name = FunctionName();
1011  194 args = ArgumentList();
1012  194 if (args == null){
1013  52 {if (true) return compiler.function(name, null);}
1014    }
1015    else {
1016  142 {if (true) return compiler.function(name, args.toArray());}
1017    }
1018  0 throw new Error("Missing return statement in function");
1019    }
1020   
 
1021  1443 toggle final public Object CoreFunctionCall() throws ParseException {
1022  1443 int code = 0;
1023  1443 ArrayList args;
1024  1443 code = CoreFunctionName();
1025  1443 args = ArgumentList();
1026  1443 if (args == null){
1027  201 {if (true) return compiler.function(code, null);}
1028    }
1029    else {
1030  1242 {if (true) return compiler.function(code, args.toArray());}
1031    }
1032  0 throw new Error("Missing return statement in function");
1033    }
1034   
 
1035  1637 toggle final public ArrayList ArgumentList() throws ParseException {
1036  1637 ArrayList args = null;
1037  1637 Object arg;
1038  1637 jj_consume_token(80);
1039  1637 switch (jj_nt.kind) {
1040  110 case SLASH:
1041  65 case SLASHSLASH:
1042  25 case MINUS:
1043  50 case VARIABLE:
1044  298 case Literal:
1045  181 case Number:
1046  0 case OR:
1047  0 case AND:
1048  0 case MOD:
1049  0 case DIV:
1050  0 case NODE:
1051  0 case TEXT:
1052  0 case COMMENT:
1053  0 case PI:
1054  0 case AXIS_SELF:
1055  10 case AXIS_CHILD:
1056  0 case AXIS_PARENT:
1057  0 case AXIS_ANCESTOR:
1058  0 case AXIS_ATTRIBUTE:
1059  0 case AXIS_NAMESPACE:
1060  0 case AXIS_PRECEDING:
1061  0 case AXIS_FOLLOWING:
1062  30 case AXIS_DESCENDANT:
1063  0 case AXIS_ANCESTOR_OR_SELF:
1064  0 case AXIS_FOLLOWING_SIBLING:
1065  0 case AXIS_PRECEDING_SIBLING:
1066  20 case AXIS_DESCENDANT_OR_SELF:
1067  0 case FUNCTION_LAST:
1068  0 case FUNCTION_POSITION:
1069  0 case FUNCTION_COUNT:
1070  0 case FUNCTION_ID:
1071  0 case FUNCTION_KEY:
1072  0 case FUNCTION_LOCAL_NAME:
1073  0 case FUNCTION_NAMESPACE_URI:
1074  0 case FUNCTION_NAME:
1075  0 case FUNCTION_STRING:
1076  0 case FUNCTION_CONCAT:
1077  0 case FUNCTION_STARTS_WITH:
1078  0 case FUNCTION_CONTAINS:
1079  0 case FUNCTION_SUBSTRING_BEFORE:
1080  0 case FUNCTION_SUBSTRING_AFTER:
1081  0 case FUNCTION_SUBSTRING:
1082  0 case FUNCTION_STRING_LENGTH:
1083  0 case FUNCTION_NORMALIZE_SPACE:
1084  0 case FUNCTION_TRANSLATE:
1085  20 case FUNCTION_BOOLEAN:
1086  0 case FUNCTION_NOT:
1087  5 case FUNCTION_TRUE:
1088  5 case FUNCTION_FALSE:
1089  0 case FUNCTION_NULL:
1090  0 case FUNCTION_LANG:
1091  0 case FUNCTION_NUMBER:
1092  0 case FUNCTION_SUM:
1093  0 case FUNCTION_FLOOR:
1094  0 case FUNCTION_CEILING:
1095  0 case FUNCTION_ROUND:
1096  0 case FUNCTION_FORMAT_NUMBER:
1097  460 case NCName:
1098  20 case 80:
1099  55 case 82:
1100  0 case 83:
1101  20 case 86:
1102  10 case 88:
1103  1384 arg = Argument();
1104  1384 args = new ArrayList(); args.add(arg);
1105  1384 label_4:
1106    while (true) {
1107  1785 switch (jj_nt.kind) {
1108  401 case 87:
1109  401 ;
1110  401 break;
1111  1384 default:
1112  1384 jj_la1[18] = jj_gen;
1113  1384 break label_4;
1114    }
1115  401 jj_consume_token(87);
1116  401 arg = Argument();
1117  401 args.add(arg);
1118    }
1119  1384 break;
1120  253 default:
1121  253 jj_la1[19] = jj_gen;
1122  253 ;
1123    }
1124  1637 jj_consume_token(81);
1125  1637 {if (true) return args;}
1126  0 throw new Error("Missing return statement in function");
1127    }
1128   
1129    /* [17] Argument ::= Expr */
 
1130  1785 toggle final public Object Argument() throws ParseException {
1131  1785 Object ex;
1132  1785 ex = Expression();
1133  1785 {if (true) return ex;}
1134  0 throw new Error("Missing return statement in function");
1135    }
1136   
1137    /*---------------*/
1138    /* 3.3 Node-sets */
1139    /*---------------*/
1140   
1141    /* [18] UnionExpr ::= PathExpr | UnionExpr '|' PathExpr */
 
1142  509840 toggle final public Object UnionExpr() throws ParseException {
1143  509840 Object ex, r;
1144  509840 ArrayList list = null;
1145  509840 ex = PathExpr();
1146  509840 label_5:
1147    while (true) {
1148  509898 switch (jj_nt.kind) {
1149  58 case UNION:
1150  58 ;
1151  58 break;
1152  509840 default:
1153  509840 jj_la1[20] = jj_gen;
1154  509840 break label_5;
1155    }
1156  58 jj_consume_token(UNION);
1157  58 r = PathExpr();
1158  58 if (list == null){
1159  51 list = new ArrayList();
1160  51 list.add(ex);
1161    }
1162  58 list.add(r);
1163    }
1164  509840 if (list != null){
1165  51 ex = compiler.union(list.toArray());
1166    }
1167  509840 {if (true) return ex;}
1168  0 throw new Error("Missing return statement in function");
1169    }
1170   
1171    /* [19] PathExpr ::= LocationPath | FilterExpr | FilterExpr '/' RelativeLocationPath | FilterExpr '//' RelativeLocationPath */
 
1172  509898 toggle final public Object PathExpr() throws ParseException {
1173  509898 Object ex = null;
1174  509898 Object[] steps;
1175  509898 if (jj_2_6(2147483647)) {
1176  256009 ex = FilterExpr();
1177    } else {
1178  253889 switch (jj_nt.kind) {
1179  250964 case SLASH:
1180  332 case SLASHSLASH:
1181  0 case OR:
1182  0 case AND:
1183  0 case MOD:
1184  0 case DIV:
1185  7 case NODE:
1186  7 case TEXT:
1187  7 case COMMENT:
1188  14 case PI:
1189  27 case AXIS_SELF:
1190  17 case AXIS_CHILD:
1191  7 case AXIS_PARENT:
1192  7 case AXIS_ANCESTOR:
1193  7 case AXIS_ATTRIBUTE:
1194  7 case AXIS_NAMESPACE:
1195  7 case AXIS_PRECEDING:
1196  7 case AXIS_FOLLOWING:
1197  37 case AXIS_DESCENDANT:
1198  7 case AXIS_ANCESTOR_OR_SELF:
1199  7 case AXIS_FOLLOWING_SIBLING:
1200  7 case AXIS_PRECEDING_SIBLING:
1201  37 case AXIS_DESCENDANT_OR_SELF:
1202  0 case FUNCTION_LAST:
1203  0 case FUNCTION_POSITION:
1204  0 case FUNCTION_COUNT:
1205  0 case FUNCTION_ID:
1206  0 case FUNCTION_KEY:
1207  0 case FUNCTION_LOCAL_NAME:
1208  0 case FUNCTION_NAMESPACE_URI:
1209  25 case FUNCTION_NAME:
1210  5 case FUNCTION_STRING:
1211  0 case FUNCTION_CONCAT:
1212  0 case FUNCTION_STARTS_WITH:
1213  0 case FUNCTION_CONTAINS:
1214  0 case FUNCTION_SUBSTRING_BEFORE:
1215  0 case FUNCTION_SUBSTRING_AFTER:
1216  0 case FUNCTION_SUBSTRING:
1217  0 case FUNCTION_STRING_LENGTH:
1218  0 case FUNCTION_NORMALIZE_SPACE:
1219  0 case FUNCTION_TRANSLATE:
1220  30 case FUNCTION_BOOLEAN:
1221  0 case FUNCTION_NOT:
1222  0 case FUNCTION_TRUE:
1223  5 case FUNCTION_FALSE:
1224  0 case FUNCTION_NULL:
1225  0 case FUNCTION_LANG:
1226  0 case FUNCTION_NUMBER:
1227  0 case FUNCTION_SUM:
1228  0 case FUNCTION_FLOOR:
1229  0 case FUNCTION_CEILING:
1230  0 case FUNCTION_ROUND:
1231  0 case FUNCTION_FORMAT_NUMBER:
1232  1531 case NCName:
1233  102 case 82:
1234  74 case 83:
1235  588 case 86:
1236  17 case 88:
1237  253889 ex = LocationPath();
1238  253889 break;
1239  0 default:
1240  0 jj_la1[21] = jj_gen;
1241  0 jj_consume_token(-1);
1242  0 throw new ParseException();
1243    }
1244    }
1245  509898 {if (true) return ex;}
1246  0 throw new Error("Missing return statement in function");
1247    }
1248   
1249    /* [20] FilterExpr ::= PrimaryExpr | FilterExpr Predicate */
 
1250  256009 toggle final public Object FilterExpr() throws ParseException {
1251  256009 Object ex, p;
1252  256009 ArrayList ps = new ArrayList();
1253  256009 boolean path = false;
1254  256009 ArrayList steps = new ArrayList();
1255  256009 ex = PrimaryExpr();
1256  256009 label_6:
1257    while (true) {
1258  256133 switch (jj_nt.kind) {
1259  124 case 84:
1260  124 ;
1261  124 break;
1262  256009 default:
1263  256009 jj_la1[22] = jj_gen;
1264  256009 break label_6;
1265    }
1266  124 p = Predicate();
1267  124 path = true;
1268  124 ps.add(p);
1269    }
1270  256009 label_7:
1271    while (true) {
1272  256336 switch (jj_nt.kind) {
1273  272 case SLASH:
1274  55 case SLASHSLASH:
1275  327 ;
1276  327 break;
1277  256009 default:
1278  256009 jj_la1[23] = jj_gen;
1279  256009 break label_7;
1280    }
1281  327 LocationStep(steps);
1282  327 path = true;
1283    }
1284  256009 if (path){
1285  291 {if (true) return compiler.expressionPath(ex, ps.toArray(), steps.toArray());}
1286    }
1287    else {
1288  255718 {if (true) return ex;}
1289    }
1290  0 throw new Error("Missing return statement in function");
1291    }
1292   
1293    /*--------------*/
1294    /* 3.4 Booleans */
1295    /*--------------*/
1296   
1297    /* [21] OrExpr ::= AndExpr | OrExpr 'or' AndExpr */
 
1298  258328 toggle final public Object OrExpr() throws ParseException {
1299  258328 Object ex, r;
1300  258328 ArrayList list = null;
1301  258328 ex = AndExpr();
1302  258328 label_8:
1303    while (true) {
1304  258366 switch (jj_nt.kind) {
1305  38 case OR:
1306  38 ;
1307  38 break;
1308  258328 default:
1309  258328 jj_la1[24] = jj_gen;
1310  258328 break label_8;
1311    }
1312  38 jj_consume_token(OR);
1313  38 r = AndExpr();
1314  38 if (list == null){
1315  38 list = new ArrayList();
1316  38 list.add(ex);
1317    }
1318  38 list.add(r);
1319    }
1320  258328 if (list != null){
1321  38 ex = compiler.or(list.toArray());
1322    }
1323  258328 {if (true) return ex;}
1324  0 throw new Error("Missing return statement in function");
1325    }
1326   
1327    /* [22] AndExpr ::= EqualityExpr | AndExpr 'and' EqualityExpr */
 
1328  258366 toggle final public Object AndExpr() throws ParseException {
1329  258366 Object ex, r;
1330  258366 ArrayList list = null;
1331  258366 ex = EqualityExpr();
1332  258366 label_9:
1333    while (true) {
1334  258414 switch (jj_nt.kind) {
1335  48 case AND:
1336  48 ;
1337  48 break;
1338  258366 default:
1339  258366 jj_la1[25] = jj_gen;
1340  258366 break label_9;
1341    }
1342  48 jj_consume_token(AND);
1343  48 r = EqualityExpr();
1344  48 if (list == null){
1345  48 list = new ArrayList();
1346  48 list.add(ex);
1347    }
1348  48 list.add(r);
1349    }
1350  258366 if (list != null){
1351  48 ex = compiler.and(list.toArray());
1352    }
1353  258366 {if (true) return ex;}
1354  0 throw new Error("Missing return statement in function");
1355    }
1356   
1357    /* [23] EqualityExpr ::= RelationalExpr | EqualityExpr '=' RelationalExpr | EqualityExpr '!=' RelationalExpr */
 
1358  258414 toggle final public Object EqualityExpr() throws ParseException {
1359  258414 Object ex, r;
1360  258414 ex = RelationalExpr();
1361  258414 label_10:
1362    while (true) {
1363  259218 switch (jj_nt.kind) {
1364  770 case EQ:
1365  34 case NEQ:
1366  804 ;
1367  804 break;
1368  258414 default:
1369  258414 jj_la1[26] = jj_gen;
1370  258414 break label_10;
1371    }
1372  804 switch (jj_nt.kind) {
1373  770 case EQ:
1374  770 jj_consume_token(EQ);
1375  770 r = RelationalExpr();
1376  770 ex = compiler.equal(ex, r);
1377  770 break;
1378  34 case NEQ:
1379  34 jj_consume_token(NEQ);
1380  34 r = RelationalExpr();
1381  34 ex = compiler.notEqual(ex, r);
1382  34 break;
1383  0 default:
1384  0 jj_la1[27] = jj_gen;
1385  0 jj_consume_token(-1);
1386  0 throw new ParseException();
1387    }
1388    }
1389  258414 {if (true) return ex;}
1390  0 throw new Error("Missing return statement in function");
1391    }
1392   
1393    /* [24] RelationalExpr ::= AdditiveExpr | RelationalExpr '<' AdditiveExpr | RelationalExpr '>' AdditiveExpr
1394    | RelationalExpr '<=' AdditiveExpr | RelationalExpr '>=' AdditiveExpr */
 
1395  259218 toggle final public Object RelationalExpr() throws ParseException {
1396  259218 Object ex, r;
1397  259218 ex = AdditiveExpr();
1398  259218 label_11:
1399    while (true) {
1400  259523 switch (jj_nt.kind) {
1401  93 case LT:
1402  43 case LTE:
1403  112 case GT:
1404  57 case GTE:
1405  305 ;
1406  305 break;
1407  259218 default:
1408  259218 jj_la1[28] = jj_gen;
1409  259218 break label_11;
1410    }
1411  305 switch (jj_nt.kind) {
1412  93 case LT:
1413  93 jj_consume_token(LT);
1414  93 r = AdditiveExpr();
1415  93 ex = compiler.lessThan(ex, r);
1416  93 break;
1417  112 case GT:
1418  112 jj_consume_token(GT);
1419  112 r = AdditiveExpr();
1420  112 ex = compiler.greaterThan(ex, r);
1421  112 break;
1422  43 case LTE:
1423  43 jj_consume_token(LTE);
1424  43 r = AdditiveExpr();
1425  43 ex = compiler.lessThanOrEqual(ex, r);
1426  43 break;
1427  57 case GTE:
1428  57 jj_consume_token(GTE);
1429  57 r = AdditiveExpr();
1430  57 ex = compiler.greaterThanOrEqual(ex, r);
1431  57 break;
1432  0 default:
1433  0 jj_la1[29] = jj_gen;
1434  0 jj_consume_token(-1);
1435  0 throw new ParseException();
1436    }
1437    }
1438  259218 {if (true) return ex;}
1439  0 throw new Error("Missing return statement in function");
1440    }
1441   
1442    /*-------------*/
1443    /* 3.5 Numbers */
1444    /*-------------*/
1445   
1446    /* [25] AdditiveExpr ::= MultiplicativeExpr | AdditiveExpr '+' MultiplicativeExpr | AdditiveExpr '-' MultiplicativeExpr */
 
1447  259523 toggle final public Object AdditiveExpr() throws ParseException {
1448  259523 Object ex, r;
1449  259523 ArrayList list = null;
1450  259523 ex = SubtractiveExpr();
1451  259523 label_12:
1452    while (true) {
1453  509676 switch (jj_nt.kind) {
1454  250153 case PLUS:
1455  250153 ;
1456  250153 break;
1457  259523 default:
1458  259523 jj_la1[30] = jj_gen;
1459  259523 break label_12;
1460    }
1461  250153 jj_consume_token(PLUS);
1462  250153 r = SubtractiveExpr();
1463  250153 if (list == null){
1464  250136 list = new ArrayList();
1465  250136 list.add(ex);
1466    }
1467  250153 list.add(r);
1468    }
1469  259523 if (list != null){
1470  250136 ex = compiler.sum(list.toArray());
1471    }
1472  259523 {if (true) return ex;}
1473  0 throw new Error("Missing return statement in function");
1474    }
1475   
 
1476  509676 toggle final public Object SubtractiveExpr() throws ParseException {
1477  509676 Object ex, r = null;
1478  509676 ex = MultiplicativeExpr();
1479  509676 label_13:
1480    while (true) {
1481  509721 switch (jj_nt.kind) {
1482  45 case MINUS:
1483  45 ;
1484  45 break;
1485  509676 default:
1486  509676 jj_la1[31] = jj_gen;
1487  509676 break label_13;
1488    }
1489  45 jj_consume_token(MINUS);
1490  45 r = MultiplicativeExpr();
1491  45 ex = compiler.minus(ex, r);
1492    }
1493  509676 {if (true) return ex;}
1494  0 throw new Error("Missing return statement in function");
1495    }
1496   
1497    /* [26] MultiplicativeExpr ::= UnaryExpr | MultiplicativeExpr MultiplyOperator UnaryExpr
1498    | MultiplicativeExpr 'div' UnaryExpr | MultiplicativeExpr 'mod' UnaryExpr */
 
1499  509721 toggle final public Object MultiplicativeExpr() throws ParseException {
1500  509721 Object ex, r;
1501  509721 ex = UnaryExpr();
1502  509721 label_14:
1503    while (true) {
1504  509840 switch (jj_nt.kind) {
1505  39 case MOD:
1506  54 case DIV:
1507  26 case 88:
1508  119 ;
1509  119 break;
1510  509721 default:
1511  509721 jj_la1[32] = jj_gen;
1512  509721 break label_14;
1513    }
1514  119 switch (jj_nt.kind) {
1515  26 case 88:
1516  26 jj_consume_token(88);
1517  26 r = UnaryExpr();
1518  26 ex = compiler.multiply(ex, r);
1519  26 break;
1520  54 case DIV:
1521  54 jj_consume_token(DIV);
1522  54 r = UnaryExpr();
1523  54 ex = compiler.divide(ex, r);
1524  54 break;
1525  39 case MOD:
1526  39 jj_consume_token(MOD);
1527  39 r = UnaryExpr();
1528  39 ex = compiler.mod(ex, r);
1529  39 break;
1530  0 default:
1531  0 jj_la1[33] = jj_gen;
1532  0 jj_consume_token(-1);
1533  0 throw new ParseException();
1534    }
1535    }
1536  509721 {if (true) return ex;}
1537  0 throw new Error("Missing return statement in function");
1538    }
1539   
1540    /* [27] UnaryExpr ::= UnionExpr | '-' UnaryExpr */
 
1541  509949 toggle final public Object UnaryExpr() throws ParseException {
1542  509949 Object ex;
1543  509949 switch (jj_nt.kind) {
1544  250964 case SLASH:
1545  332 case SLASHSLASH:
1546  383 case VARIABLE:
1547  1166 case Literal:
1548  252671 case Number:
1549  0 case OR:
1550  0 case AND:
1551  0 case MOD:
1552  0 case DIV:
1553  7 case NODE:
1554  7 case TEXT:
1555  7 case COMMENT:
1556  14 case PI:
1557  27 case AXIS_SELF:
1558  17 case AXIS_CHILD:
1559  7 case AXIS_PARENT:
1560  7 case AXIS_ANCESTOR:
1561  7 case AXIS_ATTRIBUTE:
1562  7 case AXIS_NAMESPACE:
1563  7 case AXIS_PRECEDING:
1564  7 case AXIS_FOLLOWING:
1565  37 case AXIS_DESCENDANT:
1566  7 case AXIS_ANCESTOR_OR_SELF:
1567  7 case AXIS_FOLLOWING_SIBLING:
1568  7 case AXIS_PRECEDING_SIBLING:
1569  37 case AXIS_DESCENDANT_OR_SELF:
1570  54 case FUNCTION_LAST:
1571  47 case FUNCTION_POSITION:
1572  402 case FUNCTION_COUNT:
1573  27 case FUNCTION_ID:
1574  12 case FUNCTION_KEY:
1575  64 case FUNCTION_LOCAL_NAME:
1576  44 case FUNCTION_NAMESPACE_URI:
1577  139 case FUNCTION_NAME:
1578  107 case FUNCTION_STRING:
1579  22 case FUNCTION_CONCAT:
1580  17 case FUNCTION_STARTS_WITH:
1581  32 case FUNCTION_CONTAINS:
1582  12 case FUNCTION_SUBSTRING_BEFORE:
1583  12 case FUNCTION_SUBSTRING_AFTER:
1584  69 case FUNCTION_SUBSTRING:
1585  22 case FUNCTION_STRING_LENGTH:
1586  22 case FUNCTION_NORMALIZE_SPACE:
1587  12 case FUNCTION_TRANSLATE:
1588  127 case FUNCTION_BOOLEAN:
1589  17 case FUNCTION_NOT:
1590  27 case FUNCTION_TRUE:
1591  32 case FUNCTION_FALSE:
1592  5 case FUNCTION_NULL:
1593  47 case FUNCTION_LANG:
1594  32 case FUNCTION_NUMBER:
1595  17 case FUNCTION_SUM:
1596  17 case FUNCTION_FLOOR:
1597  17 case FUNCTION_CEILING:
1598  17 case FUNCTION_ROUND:
1599  37 case FUNCTION_FORMAT_NUMBER:
1600  1695 case NCName:
1601  124 case 80:
1602  102 case 82:
1603  74 case 83:
1604  588 case 86:
1605  17 case 88:
1606  509840 ex = UnionExpr();
1607  509840 break;
1608  109 case MINUS:
1609  109 jj_consume_token(MINUS);
1610  109 ex = UnaryExpr();
1611  109 ex = compiler.minus(ex);
1612  109 break;
1613  0 default:
1614  0 jj_la1[34] = jj_gen;
1615  0 jj_consume_token(-1);
1616  0 throw new ParseException();
1617    }
1618  509949 {if (true) return ex;}
1619  0 throw new Error("Missing return statement in function");
1620    }
1621   
1622    /*-------------*/
1623    /* 3.6 Strings */
1624    /*-------------*/
1625   
1626    /*----------------------------------*/
1627    /* 3.7 Expression Lexical Structure */
1628    /*----------------------------------*/
1629    /*
1630    The following special tokenization rules must be applied in the order
1631    specified to disambiguate the grammar:
1632   
1633    1. If there is a preceding token and the preceding token is not one of
1634    @, ::, (, [, , or an Operator,
1635    then a * must be recognized as a MultiplyOperator and an NCName must
1636    be recognized as an OperatorName.
1637   
1638    2. If the character following an NCName (possibly after intervening ExprWhitespace)
1639    is (, then the token must be recognized as a NodeType or a FunctionName.
1640   
1641    3. If the two characters following an NCName (possibly after intervening ExprWhitespace)
1642    are ::, then the token must be recognized as an AxisName.
1643   
1644    4. Otherwise, the token must not be recognized as a MultiplyOperator, an OperatorName,
1645    a NodeType, a FunctionName, or an AxisName.
1646    */
1647   
1648    /*
1649    [28] ExprToken ::= '(' | ')' | '[' | ']' | '.' | '..' | '@' | ',' | '::'
1650    | WildcardName | NodeType | Operator | FunctionName | AxisName | Literal
1651    | Number | VariableReference
1652    */
1653    /* [34] MultiplyOperator ::= '*' */
1654   
1655    /* [35] FunctionName ::= QName - NodeType */
 
1656  194 toggle final public Object FunctionName() throws ParseException {
1657  194 Object qname;
1658  194 qname = QName_Without_CoreFunctions();
1659  194 {if (true) return qname;}
1660  0 throw new Error("Missing return statement in function");
1661    }
1662   
1663    /* [36] VariableReference ::= '$' QName */
 
1664  383 toggle final public Object VariableReference() throws ParseException {
1665  383 Object ex;
1666  383 jj_consume_token(VARIABLE);
1667  383 ex = QName();
1668  383 {if (true) return compiler.variableReference(ex);}
1669  0 throw new Error("Missing return statement in function");
1670    }
1671   
1672    /* [37] WildcardName ::= '*' | NCName ':' '*' | QName */
 
1673  6943 toggle final public Object WildcardName() throws ParseException {
1674  6943 Object qn;
1675  6943 String nc1, nc2 = null;
1676  6943 switch (jj_nt.kind) {
1677  106 case 88:
1678  106 jj_consume_token(88);
1679  106 break;
1680  0 case OR:
1681  0 case AND:
1682  0 case MOD:
1683  0 case DIV:
1684  0 case NODE:
1685  0 case TEXT:
1686  0 case COMMENT:
1687  0 case PI:
1688  0 case FUNCTION_LAST:
1689  0 case FUNCTION_POSITION:
1690  0 case FUNCTION_COUNT:
1691  90 case FUNCTION_ID:
1692  0 case FUNCTION_KEY:
1693  0 case FUNCTION_LOCAL_NAME:
1694  0 case FUNCTION_NAMESPACE_URI:
1695  737 case FUNCTION_NAME:
1696  30 case FUNCTION_STRING:
1697  0 case FUNCTION_CONCAT:
1698  0 case FUNCTION_STARTS_WITH:
1699  0 case FUNCTION_CONTAINS:
1700  0 case FUNCTION_SUBSTRING_BEFORE:
1701  0 case FUNCTION_SUBSTRING_AFTER:
1702  0 case FUNCTION_SUBSTRING:
1703  0 case FUNCTION_STRING_LENGTH:
1704  0 case FUNCTION_NORMALIZE_SPACE:
1705  0 case FUNCTION_TRANSLATE:
1706  100 case FUNCTION_BOOLEAN:
1707  0 case FUNCTION_NOT:
1708  0 case FUNCTION_TRUE:
1709  5 case FUNCTION_FALSE:
1710  0 case FUNCTION_NULL:
1711  0 case FUNCTION_LANG:
1712  20 case FUNCTION_NUMBER:
1713  0 case FUNCTION_SUM:
1714  0 case FUNCTION_FLOOR:
1715  0 case FUNCTION_CEILING:
1716  0 case FUNCTION_ROUND:
1717  0 case FUNCTION_FORMAT_NUMBER:
1718  5855 case NCName:
1719  6837 NCName();
1720  6837 break;
1721  0 default:
1722  0 jj_la1[35] = jj_gen;
1723  0 jj_consume_token(-1);
1724  0 throw new ParseException();
1725    }
1726  6943 nc1 = token.image;
1727  6943 switch (jj_nt.kind) {
1728  646 case 79:
1729  646 jj_consume_token(79);
1730  646 switch (jj_nt.kind) {
1731  77 case 88:
1732  77 jj_consume_token(88);
1733  77 break;
1734  0 case OR:
1735  0 case AND:
1736  0 case MOD:
1737  0 case DIV:
1738  0 case NODE:
1739  0 case TEXT:
1740  0 case COMMENT:
1741  0 case PI:
1742  0 case FUNCTION_LAST:
1743  0 case FUNCTION_POSITION:
1744  0 case FUNCTION_COUNT:
1745  0 case FUNCTION_ID:
1746  0 case FUNCTION_KEY:
1747  0 case FUNCTION_LOCAL_NAME:
1748  0 case FUNCTION_NAMESPACE_URI:
1749  40 case FUNCTION_NAME:
1750  0 case FUNCTION_STRING:
1751  0 case FUNCTION_CONCAT:
1752  0 case FUNCTION_STARTS_WITH:
1753  0 case FUNCTION_CONTAINS:
1754  0 case FUNCTION_SUBSTRING_BEFORE:
1755  0 case FUNCTION_SUBSTRING_AFTER:
1756  0 case FUNCTION_SUBSTRING:
1757  0 case FUNCTION_STRING_LENGTH:
1758  0 case FUNCTION_NORMALIZE_SPACE:
1759  0 case FUNCTION_TRANSLATE:
1760  10 case FUNCTION_BOOLEAN:
1761  0 case FUNCTION_NOT:
1762  0 case FUNCTION_TRUE:
1763  0 case FUNCTION_FALSE:
1764  0 case FUNCTION_NULL:
1765  20 case FUNCTION_LANG:
1766  0 case FUNCTION_NUMBER:
1767  0 case FUNCTION_SUM:
1768  0 case FUNCTION_FLOOR:
1769  0 case FUNCTION_CEILING:
1770  0 case FUNCTION_ROUND:
1771  0 case FUNCTION_FORMAT_NUMBER:
1772  499 case NCName:
1773  569 NCName();
1774  569 break;
1775  0 default:
1776  0 jj_la1[36] = jj_gen;
1777  0 jj_consume_token(-1);
1778  0 throw new ParseException();
1779    }
1780  646 nc2 = token.image;
1781  646 break;
1782  6297 default:
1783  6297 jj_la1[37] = jj_gen;
1784  6297 ;
1785    }
1786  6943 if (nc2 != null){
1787  646 qn = compiler.qname(nc1, nc2);
1788    }
1789    else {
1790  6297 qn = compiler.qname(null, nc1);
1791    }
1792  6943 {if (true) return qn;}
1793  0 throw new Error("Missing return statement in function");
1794    }
1795   
1796    /* [38] NodeType ::= 'comment' | 'text' | 'processing-instruction' | 'node' */
 
1797  248 toggle final public int NodeType() throws ParseException {
1798  248 int type;
1799  248 switch (jj_nt.kind) {
1800  37 case TEXT:
1801  37 jj_consume_token(TEXT);
1802  37 type = Compiler.NODE_TYPE_TEXT;
1803  37 break;
1804  167 case NODE:
1805  167 jj_consume_token(NODE);
1806  167 type = Compiler.NODE_TYPE_NODE;
1807  167 break;
1808  17 case COMMENT:
1809  17 jj_consume_token(COMMENT);
1810  17 type = Compiler.NODE_TYPE_COMMENT;
1811  17 break;
1812  27 case PI:
1813  27 jj_consume_token(PI);
1814  27 type = Compiler.NODE_TYPE_PI;
1815  27 break;
1816  0 default:
1817  0 jj_la1[38] = jj_gen;
1818  0 jj_consume_token(-1);
1819  0 throw new ParseException();
1820    }
1821  248 {if (true) return type;}
1822  0 throw new Error("Missing return statement in function");
1823    }
1824   
 
1825  194 toggle final private boolean jj_2_1(int xla) {
1826  194 jj_la = xla; jj_lastpos = jj_scanpos = token;
1827  194 boolean retval = !jj_3_1();
1828  194 jj_save(0, xla);
1829  194 return retval;
1830    }
1831   
 
1832  251296 toggle final private boolean jj_2_2(int xla) {
1833  251296 jj_la = xla; jj_lastpos = jj_scanpos = token;
1834  251296 boolean retval = !jj_3_2();
1835  251296 jj_save(1, xla);
1836  251296 return retval;
1837    }
1838   
 
1839  7208 toggle final private boolean jj_2_3(int xla) {
1840  7208 jj_la = xla; jj_lastpos = jj_scanpos = token;
1841  7208 boolean retval = !jj_3_3();
1842  7208 jj_save(2, xla);
1843  7208 return retval;
1844    }
1845   
 
1846  6960 toggle final private boolean jj_2_4(int xla) {
1847  6960 jj_la = xla; jj_lastpos = jj_scanpos = token;
1848  6960 boolean retval = !jj_3_4();
1849  6960 jj_save(3, xla);
1850  6960 return retval;
1851    }
1852   
 
1853  1637 toggle final private boolean jj_2_5(int xla) {
1854  1637 jj_la = xla; jj_lastpos = jj_scanpos = token;
1855  1637 boolean retval = !jj_3_5();
1856  1637 jj_save(4, xla);
1857  1637 return retval;
1858    }
1859   
 
1860  509898 toggle final private boolean jj_2_6(int xla) {
1861  509898 jj_la = xla; jj_lastpos = jj_scanpos = token;
1862  509898 boolean retval = !jj_3_6();
1863  509898 jj_save(5, xla);
1864  509898 return retval;
1865    }
1866   
 
1867  257909 toggle final private boolean jj_3R_65() {
1868  257855 if (jj_scan_token(FUNCTION_ID)) return true;
1869  54 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1870  54 return false;
1871    }
1872   
 
1873  3336 toggle final private boolean jj_3R_104() {
1874  340 if (jj_3R_118()) return true;
1875  2996 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1876  2996 return false;
1877    }
1878   
 
1879  258713 toggle final private boolean jj_3R_64() {
1880  257909 if (jj_scan_token(FUNCTION_COUNT)) return true;
1881  804 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1882  804 return false;
1883    }
1884   
 
1885  258827 toggle final private boolean jj_3R_63() {
1886  258713 if (jj_scan_token(FUNCTION_POSITION)) return true;
1887  114 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1888  114 return false;
1889    }
1890   
 
1891  258945 toggle final private boolean jj_3R_62() {
1892  258827 if (jj_scan_token(FUNCTION_LAST)) return true;
1893  118 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1894  118 return false;
1895    }
1896   
 
1897  258945 toggle final private boolean jj_3R_18() {
1898  258945 Token xsp;
1899  258945 xsp = jj_scanpos;
1900  258945 if (jj_3R_62()) {
1901  258827 jj_scanpos = xsp;
1902  258827 if (jj_3R_63()) {
1903  258713 jj_scanpos = xsp;
1904  258713 if (jj_3R_64()) {
1905  257909 jj_scanpos = xsp;
1906  257909 if (jj_3R_65()) {
1907  257855 jj_scanpos = xsp;
1908  257855 if (jj_3R_66()) {
1909  257727 jj_scanpos = xsp;
1910  257727 if (jj_3R_67()) {
1911  257639 jj_scanpos = xsp;
1912  257639 if (jj_3R_68()) {
1913  257351 jj_scanpos = xsp;
1914  257351 if (jj_3R_69()) {
1915  257142 jj_scanpos = xsp;
1916  257142 if (jj_3R_70()) {
1917  257088 jj_scanpos = xsp;
1918  257088 if (jj_3R_71()) {
1919  257054 jj_scanpos = xsp;
1920  257054 if (jj_3R_72()) {
1921  256975 jj_scanpos = xsp;
1922  256975 if (jj_3R_73()) {
1923  256951 jj_scanpos = xsp;
1924  256951 if (jj_3R_74()) {
1925  256927 jj_scanpos = xsp;
1926  256927 if (jj_3R_75()) {
1927  256789 jj_scanpos = xsp;
1928  256789 if (jj_3R_76()) {
1929  256745 jj_scanpos = xsp;
1930  256745 if (jj_3R_77()) {
1931  256701 jj_scanpos = xsp;
1932  256701 if (jj_3R_78()) {
1933  256677 jj_scanpos = xsp;
1934  256677 if (jj_3R_79()) {
1935  256433 jj_scanpos = xsp;
1936  256433 if (jj_3R_80()) {
1937  256399 jj_scanpos = xsp;
1938  256399 if (jj_3R_81()) {
1939  256340 jj_scanpos = xsp;
1940  256340 if (jj_3R_82()) {
1941  256256 jj_scanpos = xsp;
1942  256256 if (jj_3R_83()) {
1943  256246 jj_scanpos = xsp;
1944  256246 if (jj_3R_84()) {
1945  256152 jj_scanpos = xsp;
1946  256152 if (jj_3R_85()) {
1947  256088 jj_scanpos = xsp;
1948  256088 if (jj_3R_86()) {
1949  256054 jj_scanpos = xsp;
1950  256054 if (jj_3R_87()) {
1951  256020 jj_scanpos = xsp;
1952  256020 if (jj_3R_88()) {
1953  255986 jj_scanpos = xsp;
1954  255986 if (jj_3R_89()) {
1955  255952 jj_scanpos = xsp;
1956  255952 if (jj_3R_90()) {
1957  255928 jj_scanpos = xsp;
1958  255854 if (jj_3R_91()) return true;
1959  74 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1960  24 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1961  34 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1962  34 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1963  34 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1964  34 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1965  64 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1966  94 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1967  10 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1968  84 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1969  59 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1970  34 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1971  244 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1972  24 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1973  44 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1974  44 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1975  138 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1976  24 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1977  24 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1978  79 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1979  34 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1980  54 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1981  209 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1982  288 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1983  88 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1984  128 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1985  54 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1986  804 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1987  114 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1988  118 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1989  3091 return false;
1990    }
1991   
 
1992  758328 toggle final private boolean jj_3R_111() {
1993  758328 if (jj_scan_token(DIV)) return true;
1994  0 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1995  0 return false;
1996    }
1997   
 
1998  758328 toggle final private boolean jj_3R_110() {
1999  758328 if (jj_scan_token(MOD)) return true;
2000  0 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2001  0 return false;
2002    }
2003   
 
2004  758328 toggle final private boolean jj_3R_109() {
2005  758328 if (jj_scan_token(AND)) return true;
2006  0 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2007  0 return false;
2008    }
2009   
 
2010  758328 toggle final private boolean jj_3R_108() {
2011  758328 if (jj_scan_token(OR)) return true;
2012  0 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2013  0 return false;
2014    }
2015   
 
2016  766141 toggle final private boolean jj_3R_107() {
2017  758328 if (jj_scan_token(NCName)) return true;
2018  7813 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2019  7813 return false;
2020    }
2021   
 
2022  375 toggle final private boolean jj_3R_173() {
2023  340 if (jj_scan_token(MINUS)) return true;
2024  35 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2025  35 if (jj_3R_170()) return true;
2026  35 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2027  35 return false;
2028    }
2029   
 
2030  766141 toggle final private boolean jj_3R_98() {
2031  766141 Token xsp;
2032  766141 xsp = jj_scanpos;
2033  766141 if (jj_3R_107()) {
2034  758328 jj_scanpos = xsp;
2035  758328 if (jj_3R_108()) {
2036  758328 jj_scanpos = xsp;
2037  758328 if (jj_3R_109()) {
2038  758328 jj_scanpos = xsp;
2039  758328 if (jj_3R_110()) {
2040  758328 jj_scanpos = xsp;
2041  758328 if (jj_3R_111()) return true;
2042  0 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2043  0 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2044  0 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2045  0 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2046  7813 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2047  7813 return false;
2048    }
2049   
 
2050  3521 toggle final private boolean jj_3R_171() {
2051  3521 Token xsp;
2052  3521 xsp = jj_scanpos;
2053  3521 if (jj_3R_174()) {
2054  3521 jj_scanpos = xsp;
2055  3521 if (jj_3R_175()) {
2056  3486 jj_scanpos = xsp;
2057  3486 if (jj_3R_176()) return true;
2058  0 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2059  35 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2060  0 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2061  35 return false;
2062    }
2063   
 
2064  3896 toggle final private boolean jj_3R_172() {
2065  375 if (jj_3R_177()) return true;
2066  3521 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2067  3521 return false;
2068    }
2069   
 
2070  253613 toggle final private boolean jj_3R_153() {
2071  253213 if (jj_scan_token(86)) return true;
2072  400 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2073  400 return false;
2074    }
2075   
 
2076  253613 toggle final private boolean jj_3R_130() {
2077  253613 Token xsp;
2078  253613 xsp = jj_scanpos;
2079  253213 if (jj_3R_153()) jj_scanpos = xsp;
2080  400 else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2081  253613 return false;
2082    }
2083   
 
2084  504205 toggle final private boolean jj_3R_54() {
2085  504205 if (jj_scan_token(FUNCTION_FORMAT_NUMBER)) return true;
2086  0 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2087  0 return false;
2088    }
2089   
 
2090  3896 toggle final private boolean jj_3R_170() {
2091  3896 Token xsp;
2092  3896 xsp = jj_scanpos;
2093  3896 if (jj_3R_172()) {
2094  375 jj_scanpos = xsp;
2095  340 if (jj_3R_173()) return true;
2096  35 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2097  3521 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2098  3556 return false;
2099    }
2100   
 
2101  504205 toggle final private boolean jj_3R_53() {
2102  504205 if (jj_scan_token(FUNCTION_KEY)) return true;
2103  0 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2104  0 return false;
2105    }
2106   
 
2107  504205 toggle final private boolean jj_3R_52() {
2108  504205 if (jj_scan_token(FUNCTION_ROUND)) return true;
2109  0 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2110  0 return false;
2111    }
2112   
 
2113  504205 toggle final private boolean jj_3R_51() {
2114  504205 if (jj_scan_token(FUNCTION_CEILING)) return true;
2115  0 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2116  0 return false;
2117    }
2118   
 
2119  504205 toggle final private boolean jj_3R_50() {
2120  504205 if (jj_scan_token(FUNCTION_FLOOR)) return true;
2121  0 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2122  0 return false;
2123    }
2124   
 
2125  504205 toggle final private boolean jj_3R_49() {
2126  504205 if (jj_scan_token(FUNCTION_SUM)) return true;
2127  0 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2128  0 return false;
2129    }
2130   
 
2131  504205 toggle final private boolean jj_3R_48() {
2132  504205 if (jj_scan_token(FUNCTION_NUMBER)) return true;
2133  0 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2134  0 return false;
2135    }
2136   
 
2137  3486 toggle final private boolean jj_3R_176() {
2138  3486 if (jj_scan_token(MOD)) return true;
2139  0 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2140  0 if (jj_3R_170()) return true;
2141  0 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2142  0 return false;
2143    }
2144   
 
2145  504205 toggle final private boolean jj_3R_47() {
2146  504205 if (jj_scan_token(FUNCTION_LANG)) return true;
2147  0 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2148  0 return false;
2149    }
2150   
 
2151  3521 toggle final private boolean jj_3R_175() {
2152  3486 if (jj_scan_token(DIV)) return true;
2153  35 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2154  35 if (jj_3R_170()) return true;
2155  35 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2156  35 return false;
2157    }
2158   
 
2159  504215 toggle final private boolean jj_3R_46() {
2160  504205 if (jj_scan_token(FUNCTION_NULL)) return true;
2161  10 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2162  10 return false;
2163    }
2164   
 
2165  3521 toggle final private boolean jj_3R_174() {
2166  3521 if (jj_scan_token(88)) return true;
2167  0 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2168  0 if (jj_3R_170()) return true;
2169  0 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2170  0 return false;
2171    }
2172   
 
2173  504240 toggle final private boolean jj_3R_45() {
2174  504215 if (jj_scan_token(FUNCTION_FALSE)) return true;
2175  25 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2176  25 return false;
2177    }
2178   
 
2179  504240 toggle final private boolean jj_3R_44() {
2180  504240 if (jj_scan_token(FUNCTION_TRUE)) return true;
2181  0 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2182  0 return false;
2183    }
2184   
 
2185  504240 toggle final private boolean jj_3R_43() {
2186  504240 if (jj_scan_token(FUNCTION_NOT)) return true;
2187  0 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2188  0 return false;
2189    }
2190   
 
2191  504410 toggle final private boolean jj_3R_42() {
2192  504240 if (jj_scan_token(FUNCTION_BOOLEAN)) return true;
2193  170 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2194  170 return false;
2195    }
2196   
 
2197  504410 toggle final private boolean jj_3R_41() {
2198  504410 if (jj_scan_token(FUNCTION_TRANSLATE)) return true;
2199  0 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2200  0 return false;
2201    }
2202   
 
2203  6539 toggle final private boolean jj_3R_116() {
2204  5679 if (jj_scan_token(84)) return true;
2205  860 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2206  860 if (jj_3R_104()) return true;
2207  860 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2208  860 if (jj_scan_token(85)) return true;
2209  860 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2210  860 return false;
2211    }
2212   
 
2213  504410 toggle final private boolean jj_3R_40() {
2214  504410 if (jj_scan_token(FUNCTION_NORMALIZE_SPACE)) return true;
2215  0 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2216  0 return false;
2217    }
2218   
 
2219  504410 toggle final private boolean jj_3R_39() {
2220  504410 if (jj_scan_token(FUNCTION_STRING_LENGTH)) return true;
2221  0 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2222  0 return false;
2223    }
2224   
 
2225  504415 toggle final private boolean jj_3R_38() {
2226  504410 if (jj_scan_token(FUNCTION_SUBSTRING)) return true;
2227  5 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2228  5 return false;
2229    }
2230   
 
2231  504415 toggle final private boolean jj_3R_37() {
2232  504415 if (jj_scan_token(FUNCTION_SUBSTRING_AFTER)) return true;
2233  0 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2234  0 return false;
2235    }
2236   
 
2237  504415 toggle final private boolean jj_3R_36() {
2238  504415 if (jj_scan_token(FUNCTION_SUBSTRING_BEFORE)) return true;
2239  0 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2240  0 return false;
2241    }
2242   
 
2243  3826 toggle final private boolean jj_3R_168() {
2244  340 if (jj_3R_170()) return true;
2245  3486 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2246  3486 Token xsp;
2247  3486 while (true) {
2248  3521 xsp = jj_scanpos;
2249  3486 if (jj_3R_171()) { jj_scanpos = xsp; break; }
2250  35 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2251    }
2252  3486 return false;
2253    }
2254   
 
2255  504415 toggle final private boolean jj_3R_35() {
2256  504415 if (jj_scan_token(FUNCTION_CONTAINS)) return true;
2257  0 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2258  0 return false;
2259    }
2260   
 
2261  504415 toggle final private boolean jj_3R_34() {
2262  504415 if (jj_scan_token(FUNCTION_STARTS_WITH)) return true;
2263  0 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2264  0 return false;
2265    }
2266   
 
2267  504415 toggle final private boolean jj_3R_33() {
2268  504415 if (jj_scan_token(FUNCTION_CONCAT)) return true;
2269  0 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2270  0 return false;
2271    }
2272   
 
2273  504435 toggle final private boolean jj_3R_32() {
2274  504415 if (jj_scan_token(FUNCTION_STRING)) return true;
2275  20 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2276  20 return false;
2277    }
2278   
 
2279  504815 toggle final private boolean jj_3R_31() {
2280  504435 if (jj_scan_token(FUNCTION_NAME)) return true;
2281  380 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2282  380 return false;
2283    }
2284   
 
2285  504815 toggle final private boolean jj_3R_30() {
2286  504815 if (jj_scan_token(FUNCTION_NAMESPACE_URI)) return true;
2287  0 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2288  0 return false;
2289    }
2290   
 
2291  504815 toggle final private boolean jj_3R_29() {
2292  504815 if (jj_scan_token(FUNCTION_LOCAL_NAME)) return true;
2293  0 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2294  0 return false;
2295    }
2296   
 
2297  3486 toggle final private boolean jj_3R_169() {
2298  3479 if (jj_scan_token(MINUS)) return true;
2299  7 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2300  7 if (jj_3R_168()) return true;
2301  7 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2302  7 return false;
2303    }
2304   
 
2305  504835 toggle final private boolean jj_3R_28() {
2306  504815 if (jj_scan_token(FUNCTION_ID)) return true;
2307  20 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2308  20 return false;
2309    }
2310   
 
2311  504855 toggle final private boolean jj_3R_27() {
2312  504835 if (jj_scan_token(FUNCTION_COUNT)) return true;
2313  20 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2314  20 return false;
2315    }
2316   
 
2317  253633 toggle final private boolean jj_3R_152() {
2318  253613 if (jj_scan_token(AXIS_DESCENDANT_OR_SELF)) return true;
2319  20 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2320  20 return false;
2321    }
2322   
 
2323  504855 toggle final private boolean jj_3R_26() {
2324  504855 if (jj_scan_token(FUNCTION_POSITION)) return true;
2325  0 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2326  0 return false;
2327    }
2328   
 
2329  504855 toggle final private boolean jj_3R_25() {
2330  504855 if (jj_scan_token(FUNCTION_LAST)) return true;
2331  0 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2332  0 return false;
2333    }
2334   
 
2335  253663 toggle final private boolean jj_3R_151() {
2336  253633 if (jj_scan_token(AXIS_PRECEDING_SIBLING)) return true;
2337  30 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2338  30 return false;
2339    }
2340   
 
2341  504869 toggle final private boolean jj_3R_24() {
2342  504855 if (jj_scan_token(PI)) return true;
2343  14 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2344  14 return false;
2345    }
2346   
 
2347  253723 toggle final private boolean jj_3R_150() {
2348  253663 if (jj_scan_token(AXIS_FOLLOWING_SIBLING)) return true;
2349  60 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2350  60 return false;
2351    }
2352   
 
2353  504876 toggle final private boolean jj_3R_23() {
2354  504869 if (jj_scan_token(COMMENT)) return true;
2355  7 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2356  7 return false;
2357    }
2358   
 
2359  253733 toggle final private boolean jj_3R_149() {
2360  253723 if (jj_scan_token(AXIS_ANCESTOR_OR_SELF)) return true;
2361  10 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2362  10 return false;
2363    }
2364   
 
2365  3479 toggle final private boolean jj_3R_163() {
2366  3444 if (jj_scan_token(PLUS)) return true;
2367  35 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2368  35 if (jj_3R_162()) return true;
2369  35 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2370  35 return false;
2371    }
2372   
 
2373  504883 toggle final private boolean jj_3R_22() {
2374  504876 if (jj_scan_token(TEXT)) return true;
2375  7 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2376  7 return false;
2377    }
2378   
 
2379  253823 toggle final private boolean jj_3R_148() {
2380  253733 if (jj_scan_token(AXIS_DESCENDANT)) return true;
2381  90 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2382  90 return false;
2383    }
2384   
 
2385  504890 toggle final private boolean jj_3R_21() {
2386  504883 if (jj_scan_token(NODE)) return true;
2387  7 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2388  7 return false;
2389    }
2390   
 
2391  253843 toggle final private boolean jj_3R_147() {
2392  253823 if (jj_scan_token(AXIS_FOLLOWING)) return true;
2393  20 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2394  20 return false;
2395    }
2396   
 
2397  510610 toggle final private boolean jj_3R_20() {
2398  504890 if (jj_3R_98()) return true;
2399  5720 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2400  5720 return false;
2401    }
2402   
 
2403  253863 toggle final private boolean jj_3R_146() {
2404  253843 if (jj_scan_token(AXIS_PRECEDING)) return true;
2405  20 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2406  20 return false;
2407    }
2408   
 
2409  253893 toggle final private boolean jj_3R_145() {
2410  253863 if (jj_scan_token(AXIS_NAMESPACE)) return true;
2411  30 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2412  30 return false;
2413    }
2414   
 
2415  3819 toggle final private boolean jj_3R_162() {
2416  340 if (jj_3R_168()) return true;
2417  3479 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2418  3479 Token xsp;
2419  3479 while (true) {
2420  3486 xsp = jj_scanpos;
2421  3479 if (jj_3R_169()) { jj_scanpos = xsp; break; }
2422  7 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2423    }
2424  3479 return false;
2425    }
2426   
 
2427  253893 toggle final private boolean jj_3R_144() {
2428  253893 if (jj_scan_token(AXIS_ATTRIBUTE)) return true;
2429  0 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2430  0 return false;
2431    }
2432   
 
2433  253893 toggle final private boolean jj_3R_143() {
2434  253893 if (jj_scan_token(AXIS_ANCESTOR)) return true;
2435  0 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2436  0 return false;
2437    }
2438   
 
2439  253903 toggle final private boolean jj_3R_142() {
2440  253893 if (jj_scan_token(AXIS_PARENT)) return true;
2441  10 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2442  10 return false;
2443    }
2444   
 
2445  510610 toggle final private boolean jj_3R_15() {
2446  510610 Token xsp;
2447  510610 xsp = jj_scanpos;
2448  510610 if (jj_3R_20()) {
2449  504890 jj_scanpos = xsp;
2450  504890 if (jj_3R_21()) {
2451  504883 jj_scanpos = xsp;
2452  504883 if (jj_3R_22()) {
2453  504876 jj_scanpos = xsp;
2454  504876 if (jj_3R_23()) {
2455  504869 jj_scanpos = xsp;
2456  504869 if (jj_3R_24()) {
2457  504855 jj_scanpos = xsp;
2458  504855 if (jj_3R_25()) {
2459  504855 jj_scanpos = xsp;
2460  504855 if (jj_3R_26()) {
2461  504855 jj_scanpos = xsp;
2462  504855 if (jj_3R_27()) {
2463  504835 jj_scanpos = xsp;
2464  504835 if (jj_3R_28()) {
2465  504815 jj_scanpos = xsp;
2466  504815 if (jj_3R_29()) {
2467  504815 jj_scanpos = xsp;
2468  504815 if (jj_3R_30()) {
2469  504815 jj_scanpos = xsp;
2470  504815 if (jj_3R_31()) {
2471  504435 jj_scanpos = xsp;
2472  504435 if (jj_3R_32()) {
2473  504415 jj_scanpos = xsp;
2474  504415 if (jj_3R_33()) {
2475  504415 jj_scanpos = xsp;
2476  504415 if (jj_3R_34()) {
2477  504415 jj_scanpos = xsp;
2478  504415 if (jj_3R_35()) {
2479  504415 jj_scanpos = xsp;
2480  504415 if (jj_3R_36()) {
2481  504415 jj_scanpos = xsp;
2482  504415 if (jj_3R_37()) {
2483  504415 jj_scanpos = xsp;
2484  504415 if (jj_3R_38()) {
2485  504410 jj_scanpos = xsp;
2486  504410 if (jj_3R_39()) {
2487  504410 jj_scanpos = xsp;
2488  504410 if (jj_3R_40()) {
2489  504410 jj_scanpos = xsp;
2490  504410 if (jj_3R_41()) {
2491  504410 jj_scanpos = xsp;
2492  504410 if (jj_3R_42()) {
2493  504240 jj_scanpos = xsp;
2494  504240 if (jj_3R_43()) {
2495  504240 jj_scanpos = xsp;
2496  504240 if (jj_3R_44()) {
2497  504240 jj_scanpos = xsp;
2498  504240 if (jj_3R_45()) {
2499  504215 jj_scanpos = xsp;
2500  504215 if (jj_3R_46()) {
2501  504205 jj_scanpos = xsp;
2502  504205 if (jj_3R_47()) {
2503  504205 jj_scanpos = xsp;
2504  504205 if (jj_3R_48()) {
2505  504205 jj_scanpos = xsp;
2506  504205 if (jj_3R_49()) {
2507  504205 jj_scanpos = xsp;
2508  504205 if (jj_3R_50()) {
2509  504205 jj_scanpos = xsp;
2510  504205 if (jj_3R_51()) {
2511  504205 jj_scanpos = xsp;
2512  504205 if (jj_3R_52()) {
2513  504205 jj_scanpos = xsp;
2514  504205 if (jj_3R_53()) {
2515  504205 jj_scanpos = xsp;
2516  504205 if (jj_3R_54()) return true;
2517  0 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2518  0 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2519  0 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2520  0 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2521  0 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2522  0 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2523  0 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2524  0 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2525  10 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2526  25 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2527  0 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2528  0 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2529  170 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2530  0 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2531  0 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2532  0 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2533  5 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2534  0 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2535  0 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2536  0 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2537  0 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2538  0 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2539  20 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2540  380 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2541  0 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2542  0 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2543  20 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2544  20 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2545  0 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2546  0 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2547  14 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2548  7 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2549  7 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2550  7 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2551  5720 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2552  6405 return false;
2553    }
2554   
 
2555  253913 toggle final private boolean jj_3R_141() {
2556  253903 if (jj_scan_token(AXIS_CHILD)) return true;
2557  10 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2558  10 return false;
2559    }
2560   
 
2561  253953 toggle final private boolean jj_3R_140() {
2562  253913 if (jj_scan_token(AXIS_SELF)) return true;
2563  40 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2564  40 return false;
2565    }
2566   
 
2567  253953 toggle final private boolean jj_3R_129() {
2568  253953 Token xsp;
2569  253953 xsp = jj_scanpos;
2570  253953 if (jj_3R_140()) {
2571  253913 jj_scanpos = xsp;
2572  253913 if (jj_3R_141()) {
2573  253903 jj_scanpos = xsp;
2574  253903 if (jj_3R_142()) {
2575  253893 jj_scanpos = xsp;
2576  253893 if (jj_3R_143()) {
2577  253893 jj_scanpos = xsp;
2578  253893 if (jj_3R_144()) {
2579  253893 jj_scanpos = xsp;
2580  253893 if (jj_3R_145()) {
2581  253863 jj_scanpos = xsp;
2582  253863 if (jj_3R_146()) {
2583  253843 jj_scanpos = xsp;
2584  253843 if (jj_3R_147()) {
2585  253823 jj_scanpos = xsp;
2586  253823 if (jj_3R_148()) {
2587  253733 jj_scanpos = xsp;
2588  253733 if (jj_3R_149()) {
2589  253723 jj_scanpos = xsp;
2590  253723 if (jj_3R_150()) {
2591  253663 jj_scanpos = xsp;
2592  253663 if (jj_3R_151()) {
2593  253633 jj_scanpos = xsp;
2594  253613 if (jj_3R_152()) return true;
2595  20 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2596  30 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2597  60 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2598  10 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2599  90 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2600  20 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2601  20 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2602  30 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2603  0 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2604  0 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2605  10 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2606  10 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2607  40 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2608  340 return false;
2609    }
2610   
 
2611  3444 toggle final private boolean jj_3R_159() {
2612  3444 Token xsp;
2613  3444 xsp = jj_scanpos;
2614  3444 if (jj_3R_164()) {
2615  3434 jj_scanpos = xsp;
2616  3434 if (jj_3R_165()) {
2617  3424 jj_scanpos = xsp;
2618  3424 if (jj_3R_166()) {
2619  3417 jj_scanpos = xsp;
2620  3389 if (jj_3R_167()) return true;
2621  28 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2622  7 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2623  10 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2624  10 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2625  55 return false;
2626    }
2627   
 
2628  3784 toggle final private boolean jj_3R_158() {
2629  340 if (jj_3R_162()) return true;
2630  3444 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2631  3444 Token xsp;
2632  3444 while (true) {
2633  3479 xsp = jj_scanpos;
2634  3444 if (jj_3R_163()) { jj_scanpos = xsp; break; }
2635  35 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2636    }
2637  3444 return false;
2638    }
2639   
 
2640  253613 toggle final private boolean jj_3R_122() {
2641  253613 if (jj_3R_130()) return true;
2642  253613 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2643  253613 return false;
2644    }
2645   
 
2646  253953 toggle final private boolean jj_3R_121() {
2647  253613 if (jj_3R_129()) return true;
2648  340 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2649  340 return false;
2650    }
2651   
 
2652  3417 toggle final private boolean jj_3R_167() {
2653  3389 if (jj_scan_token(GTE)) return true;
2654  28 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2655  28 if (jj_3R_158()) return true;
2656  28 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2657  28 return false;
2658    }
2659   
 
2660  253953 toggle final private boolean jj_3R_112() {
2661  253953 Token xsp;
2662  253953 xsp = jj_scanpos;
2663  253953 if (jj_3R_121()) {
2664  253613 jj_scanpos = xsp;
2665  253613 if (jj_3R_122()) return true;
2666  253613 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2667  340 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2668  253953 return false;
2669    }
2670   
 
2671  3424 toggle final private boolean jj_3R_166() {
2672  3417 if (jj_scan_token(LTE)) return true;
2673  7 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2674  7 if (jj_3R_158()) return true;
2675  7 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2676  7 return false;
2677    }
2678   
 
2679  3434 toggle final private boolean jj_3R_165() {
2680  3424 if (jj_scan_token(GT)) return true;
2681  10 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2682  10 if (jj_3R_158()) return true;
2683  10 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2684  10 return false;
2685    }
2686   
 
2687  3389 toggle final private boolean jj_3R_157() {
2688  3389 Token xsp;
2689  3389 xsp = jj_scanpos;
2690  3389 if (jj_3R_160()) {
2691  3017 jj_scanpos = xsp;
2692  3017 if (jj_3R_161()) return true;
2693  0 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2694  372 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2695  372 return false;
2696    }
2697   
 
2698  3444 toggle final private boolean jj_3R_164() {
2699  3434 if (jj_scan_token(LT)) return true;
2700  10 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2701  10 if (jj_3R_158()) return true;
2702  10 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2703  10 return false;
2704    }
2705   
 
2706  3729 toggle final private boolean jj_3R_156() {
2707  340 if (jj_3R_158()) return true;
2708  3389 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2709  3389 Token xsp;
2710  3389 while (true) {
2711  3444 xsp = jj_scanpos;
2712  3389 if (jj_3R_159()) { jj_scanpos = xsp; break; }
2713  55 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2714    }
2715  3389 return false;
2716    }
2717   
 
2718  3017 toggle final private boolean jj_3R_161() {
2719  3017 if (jj_scan_token(NEQ)) return true;
2720  0 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2721  0 if (jj_3R_156()) return true;
2722  0 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2723  0 return false;
2724    }
2725   
 
2726  3389 toggle final private boolean jj_3R_160() {
2727  3017 if (jj_scan_token(EQ)) return true;
2728  372 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2729  372 if (jj_3R_156()) return true;
2730  372 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2731  372 return false;
2732    }
2733   
 
2734  4168 toggle final private boolean jj_3R_102() {
2735  3328 if (jj_3R_116()) return true;
2736  840 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2737  840 return false;
2738    }
2739   
 
2740  6960 toggle final private boolean jj_3_4() {
2741  6943 if (jj_scan_token(PI)) return true;
2742  17 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2743  17 return false;
2744    }
2745   
 
2746  7208 toggle final private boolean jj_3_3() {
2747  6943 if (jj_3R_17()) return true;
2748  265 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2749  265 if (jj_scan_token(80)) return true;
2750  265 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2751  17 if (jj_scan_token(81)) return true;
2752  248 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2753  248 return false;
2754    }
2755   
 
2756  250745 toggle final private boolean jj_3R_101() {
2757  250625 if (jj_scan_token(83)) return true;
2758  120 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2759  120 return false;
2760    }
2761   
 
2762  250905 toggle final private boolean jj_3R_100() {
2763  250745 if (jj_scan_token(82)) return true;
2764  160 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2765  160 return false;
2766    }
2767   
 
2768  253803 toggle final private boolean jj_3R_115() {
2769  250905 if (jj_3R_123()) return true;
2770  2898 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2771  2898 return false;
2772    }
2773   
 
2774  3357 toggle final private boolean jj_3R_134() {
2775  340 if (jj_3R_156()) return true;
2776  3017 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2777  3017 Token xsp;
2778  3017 while (true) {
2779  3389 xsp = jj_scanpos;
2780  3017 if (jj_3R_157()) { jj_scanpos = xsp; break; }
2781  372 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2782    }
2783  3017 return false;
2784    }
2785   
 
2786  253803 toggle final private boolean jj_3R_114() {
2787  253803 if (jj_scan_token(PI)) return true;
2788  0 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2789  0 if (jj_scan_token(80)) return true;
2790  0 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2791  0 if (jj_scan_token(Literal)) return true;
2792  0 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2793  0 if (jj_scan_token(81)) return true;
2794  0 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2795  0 return false;
2796    }
2797   
 
2798  253953 toggle final private boolean jj_3R_113() {
2799  253803 if (jj_3R_17()) return true;
2800  150 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2801  150 if (jj_scan_token(80)) return true;
2802  150 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2803  150 if (jj_scan_token(81)) return true;
2804  150 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2805  150 return false;
2806    }
2807   
 
2808  253953 toggle final private boolean jj_3R_99() {
2809  253953 if (jj_3R_112()) return true;
2810  253953 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2811  253953 Token xsp;
2812  253953 xsp = jj_scanpos;
2813  253953 if (jj_3R_113()) {
2814  253803 jj_scanpos = xsp;
2815  253803 if (jj_3R_114()) {
2816  253803 jj_scanpos = xsp;
2817  250905 if (jj_3R_115()) return true;
2818  2898 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2819  0 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2820  150 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2821  3048 return false;
2822    }
2823   
 
2824  3017 toggle final private boolean jj_3R_135() {
2825  3010 if (jj_scan_token(AND)) return true;
2826  7 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2827  7 if (jj_3R_134()) return true;
2828  7 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2829  7 return false;
2830    }
2831   
 
2832  253953 toggle final private boolean jj_3R_57() {
2833  253953 Token xsp;
2834  253953 xsp = jj_scanpos;
2835  253953 if (jj_3R_99()) {
2836  250905 jj_scanpos = xsp;
2837  250905 if (jj_3R_100()) {
2838  250745 jj_scanpos = xsp;
2839  250625 if (jj_3R_101()) return true;
2840  120 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2841  160 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2842  3048 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2843  3328 while (true) {
2844  4168 xsp = jj_scanpos;
2845  3328 if (jj_3R_102()) { jj_scanpos = xsp; break; }
2846  840 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2847    }
2848  3328 return false;
2849    }
2850   
 
2851  3350 toggle final private boolean jj_3R_125() {
2852  340 if (jj_3R_134()) return true;
2853  3010 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2854  3010 Token xsp;
2855  3010 while (true) {
2856  3017 xsp = jj_scanpos;
2857  3010 if (jj_3R_135()) { jj_scanpos = xsp; break; }
2858  7 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2859    }
2860  3010 return false;
2861    }
2862   
 
2863  355 toggle final private boolean jj_3R_193() {
2864  170 if (jj_3R_16()) return true;
2865  185 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2866  185 return false;
2867    }
2868   
 
2869  4378 toggle final private boolean jj_3R_56() {
2870  3931 if (jj_scan_token(SLASHSLASH)) return true;
2871  447 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2872  447 return false;
2873    }
2874   
 
2875  256299 toggle final private boolean jj_3R_55() {
2876  4378 if (jj_scan_token(SLASH)) return true;
2877  251921 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2878  251921 return false;
2879    }
2880   
 
2881  3010 toggle final private boolean jj_3R_126() {
2882  2996 if (jj_scan_token(OR)) return true;
2883  14 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2884  14 if (jj_3R_125()) return true;
2885  14 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2886  14 return false;
2887    }
2888   
 
2889  256299 toggle final private boolean jj_3R_16() {
2890  256299 Token xsp;
2891  256299 xsp = jj_scanpos;
2892  256299 if (jj_3R_55()) {
2893  4378 jj_scanpos = xsp;
2894  3931 if (jj_3R_56()) return true;
2895  447 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2896  251921 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2897  250075 if (jj_3R_57()) return true;
2898  2293 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2899  2293 return false;
2900    }
2901   
 
2902  1747 toggle final private boolean jj_3R_190() {
2903  1035 if (jj_3R_16()) return true;
2904  712 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2905  712 return false;
2906    }
2907   
 
2908  3336 toggle final private boolean jj_3R_118() {
2909  340 if (jj_3R_125()) return true;
2910  2996 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2911  2996 Token xsp;
2912  2996 while (true) {
2913  3010 xsp = jj_scanpos;
2914  2996 if (jj_3R_126()) { jj_scanpos = xsp; break; }
2915  14 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2916    }
2917  2996 return false;
2918    }
2919   
 
2920  1585 toggle final private boolean jj_3R_188() {
2921  550 if (jj_3R_57()) return true;
2922  1035 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2923  1035 Token xsp;
2924  1035 while (true) {
2925  1747 xsp = jj_scanpos;
2926  1035 if (jj_3R_190()) { jj_scanpos = xsp; break; }
2927  712 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2928    }
2929  1035 return false;
2930    }
2931   
 
2932  251296 toggle final private boolean jj_3_2() {
2933  250070 if (jj_3R_16()) return true;
2934  1226 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2935  1226 return false;
2936    }
2937   
 
2938  2351 toggle final private boolean jj_3R_185() {
2939  2351 if (jj_3R_16()) return true;
2940  0 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2941  0 return false;
2942    }
2943   
 
2944  380 toggle final private boolean jj_3R_192() {
2945  375 if (jj_scan_token(SLASH)) return true;
2946  5 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2947  5 return false;
2948    }
2949   
 
2950  550 toggle final private boolean jj_3R_191() {
2951  380 if (jj_3R_16()) return true;
2952  170 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2953  170 Token xsp;
2954  170 while (true) {
2955  355 xsp = jj_scanpos;
2956  170 if (jj_3R_193()) { jj_scanpos = xsp; break; }
2957  185 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2958    }
2959  170 return false;
2960    }
2961   
 
2962  2371 toggle final private boolean jj_3R_184() {
2963  2351 if (jj_3R_116()) return true;
2964  20 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2965  20 return false;
2966    }
2967   
 
2968  550 toggle final private boolean jj_3R_189() {
2969  550 Token xsp;
2970  550 xsp = jj_scanpos;
2971  550 if (jj_3R_191()) {
2972  380 jj_scanpos = xsp;
2973  375 if (jj_3R_192()) return true;
2974  5 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2975  170 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2976  175 return false;
2977    }
2978   
 
2979  3936 toggle final private boolean jj_3R_182() {
2980  1585 if (jj_3R_19()) return true;
2981  2351 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2982  2351 Token xsp;
2983  2351 while (true) {
2984  2371 xsp = jj_scanpos;
2985  2351 if (jj_3R_184()) { jj_scanpos = xsp; break; }
2986  20 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2987    }
2988  2351 while (true) {
2989  2351 xsp = jj_scanpos;
2990  2351 if (jj_3R_185()) { jj_scanpos = xsp; break; }
2991  0 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2992    }
2993  2351 return false;
2994    }
2995   
 
2996  509898 toggle final private boolean jj_3_6() {
2997  253889 if (jj_3R_19()) return true;
2998  256009 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2999  256009 return false;
3000    }
3001   
 
3002  550 toggle final private boolean jj_3R_187() {
3003  375 if (jj_3R_189()) return true;
3004  175 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3005  175 return false;
3006    }
3007   
 
3008  1585 toggle final private boolean jj_3R_186() {
3009  550 if (jj_3R_188()) return true;
3010  1035 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3011  1035 return false;
3012    }
3013   
 
3014  1585 toggle final private boolean jj_3R_183() {
3015  1585 Token xsp;
3016  1585 xsp = jj_scanpos;
3017  1585 if (jj_3R_186()) {
3018  550 jj_scanpos = xsp;
3019  375 if (jj_3R_187()) return true;
3020  175 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3021  1035 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3022  1210 return false;
3023    }
3024   
 
3025  1585 toggle final private boolean jj_3R_181() {
3026  375 if (jj_3R_183()) return true;
3027  1210 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3028  1210 return false;
3029    }
3030   
 
3031  3936 toggle final private boolean jj_3R_180() {
3032  1585 if (jj_3R_182()) return true;
3033  2351 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3034  2351 return false;
3035    }
3036   
 
3037  3936 toggle final private boolean jj_3R_178() {
3038  3936 Token xsp;
3039  3936 xsp = jj_scanpos;
3040  3936 if (jj_3R_180()) {
3041  1585 jj_scanpos = xsp;
3042  375 if (jj_3R_181()) return true;
3043  1210 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3044  2351 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3045  3561 return false;
3046    }
3047   
 
3048  3561 toggle final private boolean jj_3R_179() {
3049  3521 if (jj_scan_token(UNION)) return true;
3050  40 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3051  40 if (jj_3R_178()) return true;
3052  40 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3053  40 return false;
3054    }
3055   
 
3056  3896 toggle final private boolean jj_3R_177() {
3057  375 if (jj_3R_178()) return true;
3058  3521 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3059  3521 Token xsp;
3060  3521 while (true) {
3061  3561 xsp = jj_scanpos;
3062  3521 if (jj_3R_179()) { jj_scanpos = xsp; break; }
3063  40 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3064    }
3065  3521 return false;
3066    }
3067   
 
3068  2325 toggle final private boolean jj_3R_136() {
3069  340 if (jj_3R_104()) return true;
3070  1985 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3071  1985 return false;
3072    }
3073   
 
3074  1985 toggle final private boolean jj_3R_137() {
3075  1494 if (jj_scan_token(87)) return true;
3076  491 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3077  491 if (jj_3R_136()) return true;
3078  491 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3079  491 return false;
3080    }
3081   
 
3082  1834 toggle final private boolean jj_3R_127() {
3083  340 if (jj_3R_136()) return true;
3084  1494 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3085  1494 Token xsp;
3086  1494 while (true) {
3087  1985 xsp = jj_scanpos;
3088  1494 if (jj_3R_137()) { jj_scanpos = xsp; break; }
3089  491 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3090    }
3091  1494 return false;
3092    }
3093   
 
3094  3980 toggle final private boolean jj_3R_119() {
3095  2146 if (jj_scan_token(80)) return true;
3096  1834 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3097  1834 Token xsp;
3098  1834 xsp = jj_scanpos;
3099  340 if (jj_3R_127()) jj_scanpos = xsp;
3100  1494 else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3101  1834 if (jj_scan_token(81)) return true;
3102  1834 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3103  1834 return false;
3104    }
3105   
 
3106  260800 toggle final private boolean jj_3R_61() {
3107  260746 if (jj_scan_token(PI)) return true;
3108  54 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3109  54 return false;
3110    }
3111   
 
3112  260817 toggle final private boolean jj_3R_60() {
3113  260800 if (jj_scan_token(COMMENT)) return true;
3114  17 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3115  17 return false;
3116    }
3117   
 
3118  261124 toggle final private boolean jj_3R_59() {
3119  260817 if (jj_scan_token(NODE)) return true;
3120  307 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3121  307 return false;
3122    }
3123   
 
3124  261161 toggle final private boolean jj_3R_58() {
3125  261124 if (jj_scan_token(TEXT)) return true;
3126  37 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3127  37 return false;
3128    }
3129   
 
3130  194 toggle final private boolean jj_3_1() {
3131  194 if (jj_3R_15()) return true;
3132  194 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3133  52 if (jj_scan_token(79)) return true;
3134  142 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3135  142 return false;
3136    }
3137   
 
3138  261161 toggle final private boolean jj_3R_17() {
3139  261161 Token xsp;
3140  261161 xsp = jj_scanpos;
3141  261161 if (jj_3R_58()) {
3142  261124 jj_scanpos = xsp;
3143  261124 if (jj_3R_59()) {
3144  260817 jj_scanpos = xsp;
3145  260817 if (jj_3R_60()) {
3146  260800 jj_scanpos = xsp;
3147  260746 if (jj_3R_61()) return true;
3148  54 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3149  17 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3150  307 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3151  37 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3152  415 return false;
3153    }
3154   
 
3155  157 toggle final private boolean jj_3R_155() {
3156  157 if (jj_3R_15()) return true;
3157  157 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3158  157 return false;
3159    }
3160   
 
3161  255531 toggle final private boolean jj_3R_139() {
3162  253438 if (jj_3R_98()) return true;
3163  2093 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3164  2093 return false;
3165    }
3166   
 
3167  255770 toggle final private boolean jj_3R_138() {
3168  253293 if (jj_3R_15()) return true;
3169  2477 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3170  2231 if (jj_scan_token(79)) return true;
3171  246 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3172  7 if (jj_3R_15()) return true;
3173  239 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3174  239 return false;
3175    }
3176   
 
3177  207 toggle final private boolean jj_3R_154() {
3178  157 if (jj_scan_token(88)) return true;
3179  50 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3180  50 return false;
3181    }
3182   
 
3183  253758 toggle final private boolean jj_3R_132() {
3184  250905 if (jj_3R_15()) return true;
3185  2853 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3186  2853 return false;
3187    }
3188   
 
3189  257308 toggle final private boolean jj_3R_105() {
3190  255660 if (jj_3R_18()) return true;
3191  1648 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3192  110 if (jj_3R_119()) return true;
3193  1538 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3194  1538 return false;
3195    }
3196   
 
3197  473 toggle final private boolean jj_3R_124() {
3198  461 if (jj_scan_token(79)) return true;
3199  12 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3200  12 if (jj_3R_15()) return true;
3201  12 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3202  12 return false;
3203    }
3204   
 
3205  2898 toggle final private boolean jj_3R_133() {
3206  2691 if (jj_scan_token(79)) return true;
3207  207 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3208  207 Token xsp;
3209  207 xsp = jj_scanpos;
3210  207 if (jj_3R_154()) {
3211  157 jj_scanpos = xsp;
3212  157 if (jj_3R_155()) return true;
3213  157 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3214  50 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3215  207 return false;
3216    }
3217   
 
3218  255770 toggle final private boolean jj_3R_128() {
3219  255770 Token xsp;
3220  255770 xsp = jj_scanpos;
3221  255770 if (jj_3R_138()) {
3222  255531 jj_scanpos = xsp;
3223  253438 if (jj_3R_139()) return true;
3224  2093 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3225  239 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3226  2332 return false;
3227    }
3228   
 
3229  253803 toggle final private boolean jj_3R_131() {
3230  253758 if (jj_scan_token(88)) return true;
3231  45 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3232  45 return false;
3233    }
3234   
 
3235  253803 toggle final private boolean jj_3R_123() {
3236  253803 Token xsp;
3237  253803 xsp = jj_scanpos;
3238  253803 if (jj_3R_131()) {
3239  253758 jj_scanpos = xsp;
3240  250905 if (jj_3R_132()) return true;
3241  2853 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3242  45 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3243  2898 xsp = jj_scanpos;
3244  2691 if (jj_3R_133()) jj_scanpos = xsp;
3245  207 else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3246  2898 return false;
3247    }
3248   
 
3249  255770 toggle final private boolean jj_3R_106() {
3250  253438 if (jj_3R_120()) return true;
3251  2332 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3252  2036 if (jj_3R_119()) return true;
3253  296 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3254  296 return false;
3255    }
3256   
 
3257  473 toggle final private boolean jj_3R_117() {
3258  473 if (jj_3R_15()) return true;
3259  473 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3260  473 Token xsp;
3261  473 xsp = jj_scanpos;
3262  461 if (jj_3R_124()) jj_scanpos = xsp;
3263  12 else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3264  473 return false;
3265    }
3266   
 
3267  1637 toggle final private boolean jj_3_5() {
3268  194 if (jj_3R_18()) return true;
3269  1443 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3270  1443 if (jj_scan_token(80)) return true;
3271  1443 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3272  1443 return false;
3273    }
3274   
 
3275  513834 toggle final private boolean jj_3R_103() {
3276  513361 if (jj_scan_token(VARIABLE)) return true;
3277  473 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3278  473 if (jj_3R_117()) return true;
3279  473 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3280  473 return false;
3281    }
3282   
 
3283  255928 toggle final private boolean jj_3R_91() {
3284  255854 if (jj_scan_token(FUNCTION_FORMAT_NUMBER)) return true;
3285  74 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3286  74 return false;
3287    }
3288   
 
3289  255952 toggle final private boolean jj_3R_90() {
3290  255928 if (jj_scan_token(FUNCTION_KEY)) return true;
3291  24 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3292  24 return false;
3293    }
3294   
 
3295  255986 toggle final private boolean jj_3R_89() {
3296  255952 if (jj_scan_token(FUNCTION_ROUND)) return true;
3297  34 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3298  34 return false;
3299    }
3300   
 
3301  256020 toggle final private boolean jj_3R_88() {
3302  255986 if (jj_scan_token(FUNCTION_CEILING)) return true;
3303  34 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3304  34 return false;
3305    }
3306   
 
3307  255770 toggle final private boolean jj_3R_97() {
3308  255474 if (jj_3R_106()) return true;
3309  296 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3310  296 return false;
3311    }
3312   
 
3313  256054 toggle final private boolean jj_3R_87() {
3314  256020 if (jj_scan_token(FUNCTION_FLOOR)) return true;
3315  34 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3316  34 return false;
3317    }
3318   
 
3319  257308 toggle final private boolean jj_3R_96() {
3320  255770 if (jj_3R_105()) return true;
3321  1538 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3322  1538 return false;
3323    }
3324   
 
3325  256088 toggle final private boolean jj_3R_86() {
3326  256054 if (jj_scan_token(FUNCTION_SUM)) return true;
3327  34 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3328  34 return false;
3329    }
3330   
 
3331  511107 toggle final private boolean jj_3R_95() {
3332  257308 if (jj_scan_token(Number)) return true;
3333  253799 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3334  253799 return false;
3335    }
3336   
 
3337  256152 toggle final private boolean jj_3R_85() {
3338  256088 if (jj_scan_token(FUNCTION_NUMBER)) return true;
3339  64 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3340  64 return false;
3341    }
3342   
 
3343  513210 toggle final private boolean jj_3R_94() {
3344  511107 if (jj_scan_token(Literal)) return true;
3345  2103 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3346  2103 return false;
3347    }
3348   
 
3349  256246 toggle final private boolean jj_3R_84() {
3350  256152 if (jj_scan_token(FUNCTION_LANG)) return true;
3351  94 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3352  94 return false;
3353    }
3354   
 
3355  513361 toggle final private boolean jj_3R_93() {
3356  513210 if (jj_scan_token(80)) return true;
3357  151 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3358  151 if (jj_3R_104()) return true;
3359  151 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3360  151 if (jj_scan_token(81)) return true;
3361  151 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3362  151 return false;
3363    }
3364   
 
3365  256256 toggle final private boolean jj_3R_83() {
3366  256246 if (jj_scan_token(FUNCTION_NULL)) return true;
3367  10 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3368  10 return false;
3369    }
3370   
 
3371  513834 toggle final private boolean jj_3R_92() {
3372  513361 if (jj_3R_103()) return true;
3373  473 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3374  473 return false;
3375    }
3376   
 
3377  256340 toggle final private boolean jj_3R_82() {
3378  256256 if (jj_scan_token(FUNCTION_FALSE)) return true;
3379  84 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3380  84 return false;
3381    }
3382   
 
3383  256399 toggle final private boolean jj_3R_81() {
3384  256340 if (jj_scan_token(FUNCTION_TRUE)) return true;
3385  59 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3386  59 return false;
3387    }
3388   
 
3389  255770 toggle final private boolean jj_3R_120() {
3390  253438 if (jj_3R_128()) return true;
3391  2332 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3392  2332 return false;
3393    }
3394   
 
3395  256433 toggle final private boolean jj_3R_80() {
3396  256399 if (jj_scan_token(FUNCTION_NOT)) return true;
3397  34 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3398  34 return false;
3399    }
3400   
 
3401  256677 toggle final private boolean jj_3R_79() {
3402  256433 if (jj_scan_token(FUNCTION_BOOLEAN)) return true;
3403  244 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3404  244 return false;
3405    }
3406   
 
3407  256701 toggle final private boolean jj_3R_78() {
3408  256677 if (jj_scan_token(FUNCTION_TRANSLATE)) return true;
3409  24 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3410  24 return false;
3411    }
3412   
 
3413  256745 toggle final private boolean jj_3R_77() {
3414  256701 if (jj_scan_token(FUNCTION_NORMALIZE_SPACE)) return true;
3415  44 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3416  44 return false;
3417    }
3418   
 
3419  513834 toggle final private boolean jj_3R_19() {
3420  513834 Token xsp;
3421  513834 xsp = jj_scanpos;
3422  513834 if (jj_3R_92()) {
3423  513361 jj_scanpos = xsp;
3424  513361 if (jj_3R_93()) {
3425  513210 jj_scanpos = xsp;
3426  513210 if (jj_3R_94()) {
3427  511107 jj_scanpos = xsp;
3428  511107 if (jj_3R_95()) {
3429  257308 jj_scanpos = xsp;
3430  257308 if (jj_3R_96()) {
3431  255770 jj_scanpos = xsp;
3432  255474 if (jj_3R_97()) return true;
3433  296 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3434  1538 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3435  253799 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3436  2103 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3437  151 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3438  473 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3439  258360 return false;
3440    }
3441   
 
3442  256789 toggle final private boolean jj_3R_76() {
3443  256745 if (jj_scan_token(FUNCTION_STRING_LENGTH)) return true;
3444  44 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3445  44 return false;
3446    }
3447   
 
3448  256927 toggle final private boolean jj_3R_75() {
3449  256789 if (jj_scan_token(FUNCTION_SUBSTRING)) return true;
3450  138 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3451  138 return false;
3452    }
3453   
 
3454  256951 toggle final private boolean jj_3R_74() {
3455  256927 if (jj_scan_token(FUNCTION_SUBSTRING_AFTER)) return true;
3456  24 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3457  24 return false;
3458    }
3459   
 
3460  256975 toggle final private boolean jj_3R_73() {
3461  256951 if (jj_scan_token(FUNCTION_SUBSTRING_BEFORE)) return true;
3462  24 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3463  24 return false;
3464    }
3465   
 
3466  257054 toggle final private boolean jj_3R_72() {
3467  256975 if (jj_scan_token(FUNCTION_CONTAINS)) return true;
3468  79 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3469  79 return false;
3470    }
3471   
 
3472  257088 toggle final private boolean jj_3R_71() {
3473  257054 if (jj_scan_token(FUNCTION_STARTS_WITH)) return true;
3474  34 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3475  34 return false;
3476    }
3477   
 
3478  257142 toggle final private boolean jj_3R_70() {
3479  257088 if (jj_scan_token(FUNCTION_CONCAT)) return true;
3480  54 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3481  54 return false;
3482    }
3483   
 
3484  257351 toggle final private boolean jj_3R_69() {
3485  257142 if (jj_scan_token(FUNCTION_STRING)) return true;
3486  209 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3487  209 return false;
3488    }
3489   
 
3490  257639 toggle final private boolean jj_3R_68() {
3491  257351 if (jj_scan_token(FUNCTION_NAME)) return true;
3492  288 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3493  288 return false;
3494    }
3495   
 
3496  257727 toggle final private boolean jj_3R_67() {
3497  257639 if (jj_scan_token(FUNCTION_NAMESPACE_URI)) return true;
3498  88 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3499  88 return false;
3500    }
3501   
 
3502  257855 toggle final private boolean jj_3R_66() {
3503  257727 if (jj_scan_token(FUNCTION_LOCAL_NAME)) return true;
3504  128 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3505  128 return false;
3506    }
3507   
3508    public XPathParserTokenManager token_source;
3509    SimpleCharStream jj_input_stream;
3510    public Token token, jj_nt;
3511    private Token jj_scanpos, jj_lastpos;
3512    private int jj_la;
3513    public boolean lookingAhead = false;
3514    private boolean jj_semLA;
3515    private int jj_gen;
3516    final private int[] jj_la1 = new int[39];
3517    static private int[] jj_la1_0;
3518    static private int[] jj_la1_1;
3519    static private int[] jj_la1_2;
 
3520  82 toggle static {
3521  82 jj_la1_0();
3522  82 jj_la1_1();
3523  82 jj_la1_2();
3524    }
 
3525  82 toggle private static void jj_la1_0() {
3526  82 jj_la1_0 = new int[] {0xf8000000,0x78000000,0x0,0x0,0x78000000,0xf80000c0,0xc0,0x40,0xc0,0xc0,0xf8000000,0xf8000000,0x0,0x0,0x0,0x0,0x160000,0xf8000000,0x0,0xf81604c0,0x100,0xf80000c0,0x0,0xc0,0x8000000,0x10000000,0x1800,0x1800,0x1e000,0x1e000,0x200,0x400,0x60000000,0x60000000,0xf81604c0,0xf8000000,0xf8000000,0x0,0x80000000,};
3527    }
 
3528  82 toggle private static void jj_la1_1() {
3529  82 jj_la1_1 = new int[] {0xffff0007,0x0,0xffff0000,0x0,0x0,0xffffffff,0x0,0x0,0x0,0x0,0xffff0007,0xffffffff,0x0,0xfff8,0xfff8,0x0,0x0,0xffff0007,0x0,0xffffffff,0x0,0xffffffff,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xffffffff,0xffff0007,0xffff0007,0x0,0x7,};
3530    }
 
3531  82 toggle private static void jj_la1_2() {
3532  82 jj_la1_2 = new int[] {0x7fff,0x4000,0x3fff,0x8000,0x4000,0x14c7fff,0x0,0x0,0x0,0x0,0x1007fff,0x14c7fff,0x100000,0x0,0x0,0x400000,0x10000,0x7fff,0x800000,0x14d7fff,0x0,0x14c7fff,0x100000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x1000000,0x1000000,0x14d7fff,0x1007fff,0x1007fff,0x8000,0x0,};
3533    }
3534    final private JJCalls[] jj_2_rtns = new JJCalls[6];
3535    private boolean jj_rescan = false;
3536    private int jj_gc = 0;
3537   
 
3538  0 toggle public XPathParser(java.io.InputStream stream) {
3539  0 jj_input_stream = new SimpleCharStream(stream, 1, 1);
3540  0 token_source = new XPathParserTokenManager(jj_input_stream);
3541  0 token = new Token();
3542  0 token.next = jj_nt = token_source.getNextToken();
3543  0 jj_gen = 0;
3544  0 for (int i = 0; i < 39; i++) jj_la1[i] = -1;
3545  0 for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();
3546    }
3547   
 
3548  0 toggle public void ReInit(java.io.InputStream stream) {
3549  0 jj_input_stream.ReInit(stream, 1, 1);
3550  0 token_source.ReInit(jj_input_stream);
3551  0 token = new Token();
3552  0 token.next = jj_nt = token_source.getNextToken();
3553  0 jj_gen = 0;
3554  0 for (int i = 0; i < 39; i++) jj_la1[i] = -1;
3555  0 for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();
3556    }
3557   
 
3558  82 toggle public XPathParser(java.io.Reader stream) {
3559  82 jj_input_stream = new SimpleCharStream(stream, 1, 1);
3560  82 token_source = new XPathParserTokenManager(jj_input_stream);
3561  82 token = new Token();
3562  82 token.next = jj_nt = token_source.getNextToken();
3563  82 jj_gen = 0;
3564  3198 for (int i = 0; i < 39; i++) jj_la1[i] = -1;
3565  492 for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();
3566    }
3567   
 
3568  254463 toggle public void ReInit(java.io.Reader stream) {
3569  254463 jj_input_stream.ReInit(stream, 1, 1);
3570  254463 token_source.ReInit(jj_input_stream);
3571  254463 token = new Token();
3572  254463 token.next = jj_nt = token_source.getNextToken();
3573  254463 jj_gen = 0;
3574  9924057 for (int i = 0; i < 39; i++) jj_la1[i] = -1;
3575  1526778 for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();
3576    }
3577   
 
3578  0 toggle public XPathParser(XPathParserTokenManager tm) {
3579  0 token_source = tm;
3580  0 token = new Token();
3581  0 token.next = jj_nt = token_source.getNextToken();
3582  0 jj_gen = 0;
3583  0 for (int i = 0; i < 39; i++) jj_la1[i] = -1;
3584  0 for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();
3585    }
3586   
 
3587  0 toggle public void ReInit(XPathParserTokenManager tm) {
3588  0 token_source = tm;
3589  0 token = new Token();
3590  0 token.next = jj_nt = token_source.getNextToken();
3591  0 jj_gen = 0;
3592  0 for (int i = 0; i < 39; i++) jj_la1[i] = -1;
3593  0 for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();
3594    }
3595   
 
3596  1036503 toggle final private Token jj_consume_token(int kind) throws ParseException {
3597  1036503 Token oldToken = token;
3598  ? if ((token = jj_nt).next != null) jj_nt = jj_nt.next;
3599  769325 else jj_nt = jj_nt.next = token_source.getNextToken();
3600  1036503 if (token.kind == kind) {
3601  1036503 jj_gen++;
3602  1036503 if (++jj_gc > 100) {
3603  10222 jj_gc = 0;
3604  71554 for (int i = 0; i < jj_2_rtns.length; i++) {
3605  61332 JJCalls c = jj_2_rtns[i];
3606  122735 while (c != null) {
3607  51065 if (c.gen < jj_gen) c.first = null;
3608  61403 c = c.next;
3609    }
3610    }
3611    }
3612  1036503 return token;
3613    }
3614  0 jj_nt = token;
3615  0 token = oldToken;
3616  0 jj_kind = kind;
3617  0 throw generateParseException();
3618    }
3619   
 
3620  36657306 toggle final private boolean jj_scan_token(int kind) {
3621  36657306 if (jj_scanpos == jj_lastpos) {
3622  1048475 jj_la--;
3623  1048475 if (jj_scanpos.next == null) {
3624  267178 jj_lastpos = jj_scanpos = jj_scanpos.next = token_source.getNextToken();
3625    } else {
3626  781297 jj_lastpos = jj_scanpos = jj_scanpos.next;
3627    }
3628    } else {
3629  35608831 jj_scanpos = jj_scanpos.next;
3630    }
3631  36657306 if (jj_rescan) {
3632  0 int i = 0; Token tok = token;
3633  0 while (tok != null && tok != jj_scanpos) { i++; tok = tok.next; }
3634  0 if (tok != null) jj_add_error_token(kind, i);
3635    }
3636  36657306 return (jj_scanpos.kind != kind);
3637    }
3638   
 
3639  0 toggle final public Token getNextToken() {
3640  0 if ((token = jj_nt).next != null) jj_nt = jj_nt.next;
3641  0 else jj_nt = jj_nt.next = token_source.getNextToken();
3642  0 jj_gen++;
3643  0 return token;
3644    }
3645   
 
3646  0 toggle final public Token getToken(int index) {
3647  0 Token t = lookingAhead ? jj_scanpos : token;
3648  0 for (int i = 0; i < index; i++) {
3649  0 if (t.next != null) t = t.next;
3650  0 else t = t.next = token_source.getNextToken();
3651    }
3652  0 return t;
3653    }
3654   
3655    private java.util.Vector jj_expentries = new java.util.Vector();
3656    private int[] jj_expentry;
3657    private int jj_kind = -1;
3658    private int[] jj_lasttokens = new int[100];
3659    private int jj_endpos;
3660   
 
3661  0 toggle private void jj_add_error_token(int kind, int pos) {
3662  0 if (pos >= 100) return;
3663  0 if (pos == jj_endpos + 1) {
3664  0 jj_lasttokens[jj_endpos++] = kind;
3665  0 } else if (jj_endpos != 0) {
3666  0 jj_expentry = new int[jj_endpos];
3667  0 for (int i = 0; i < jj_endpos; i++) {
3668  0 jj_expentry[i] = jj_lasttokens[i];
3669    }
3670  0 boolean exists = false;
3671  0 for (java.util.Enumeration en = jj_expentries.elements(); en.hasMoreElements();) {
3672  0 int[] oldentry = (int[])(en.nextElement());
3673  0 if (oldentry.length == jj_expentry.length) {
3674  0 exists = true;
3675  0 for (int i = 0; i < jj_expentry.length; i++) {
3676  0 if (oldentry[i] != jj_expentry[i]) {
3677  0 exists = false;
3678  0 break;
3679    }
3680    }
3681  0 if (exists) break;
3682    }
3683    }
3684  0 if (!exists) jj_expentries.addElement(jj_expentry);
3685  0 if (pos != 0) jj_lasttokens[(jj_endpos = pos) - 1] = kind;
3686    }
3687    }
3688   
 
3689  0 toggle public ParseException generateParseException() {
3690  0 jj_expentries.removeAllElements();
3691  0 boolean[] la1tokens = new boolean[89];
3692  0 for (int i = 0; i < 89; i++) {
3693  0 la1tokens[i] = false;
3694    }
3695  0 if (jj_kind >= 0) {
3696  0 la1tokens[jj_kind] = true;
3697  0 jj_kind = -1;
3698    }
3699  0 for (int i = 0; i < 39; i++) {
3700  0 if (jj_la1[i] == jj_gen) {
3701  0 for (int j = 0; j < 32; j++) {
3702  0 if ((jj_la1_0[i] & (1<<j)) != 0) {
3703  0 la1tokens[j] = true;
3704    }
3705  0 if ((jj_la1_1[i] & (1<<j)) != 0) {
3706  0 la1tokens[32+j] = true;
3707    }
3708  0 if ((jj_la1_2[i] & (1<<j)) != 0) {
3709  0 la1tokens[64+j] = true;
3710    }
3711    }
3712    }
3713    }
3714  0 for (int i = 0; i < 89; i++) {
3715  0 if (la1tokens[i]) {
3716  0 jj_expentry = new int[1];
3717  0 jj_expentry[0] = i;
3718  0 jj_expentries.addElement(jj_expentry);
3719    }
3720    }
3721  0 jj_endpos = 0;
3722  0 jj_rescan_token();
3723  0 jj_add_error_token(0, 0);
3724  0 int[][] exptokseq = new int[jj_expentries.size()][];
3725  0 for (int i = 0; i < jj_expentries.size(); i++) {
3726  0 exptokseq[i] = (int[])jj_expentries.elementAt(i);
3727    }
3728  0 return new ParseException(token, exptokseq, tokenImage);
3729    }
3730   
 
3731  0 toggle final public void enable_tracing() {
3732    }
3733   
 
3734  0 toggle final public void disable_tracing() {
3735    }
3736   
 
3737  0 toggle final private void jj_rescan_token() {
3738  0 jj_rescan = true;
3739  0 for (int i = 0; i < 6; i++) {
3740  0 JJCalls p = jj_2_rtns[i];
3741  0 do {
3742  0 if (p.gen > jj_gen) {
3743  0 jj_la = p.arg; jj_lastpos = jj_scanpos = p.first;
3744  0 switch (i) {
3745  0 case 0: jj_3_1(); break;
3746  0 case 1: jj_3_2(); break;
3747  0 case 2: jj_3_3(); break;
3748  0 case 3: jj_3_4(); break;
3749  0 case 4: jj_3_5(); break;
3750  0 case 5: jj_3_6(); break;
3751    }
3752    }
3753  0 p = p.next;
3754  0 } while (p != null);
3755    }
3756  0 jj_rescan = false;
3757    }
3758   
 
3759  777193 toggle final private void jj_save(int index, int xla) {
3760  777193 JJCalls p = jj_2_rtns[index];
3761  778271 while (p.gen > jj_gen) {
3762  1478 if (p.next == null) { p = p.next = new JJCalls(); break; }
3763  1078 p = p.next;
3764    }
3765  777193 p.gen = jj_gen + xla - jj_la; p.first = token; p.arg = xla;
3766    }
3767   
 
3768    static final class JJCalls {
3769    int gen;
3770    Token first;
3771    int arg;
3772    JJCalls next;
3773    }
3774   
3775    }